initial-commit, files tested.
This commit is contained in:
@@ -0,0 +1,106 @@
|
||||
# Example binds,see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
|
||||
bind=SUPER+ALT,r,reload_config # reload mango config
|
||||
|
||||
# Actions
|
||||
|
||||
# window management
|
||||
bind=SUPER,T,togglefloating, # float/unfloat active window
|
||||
bind=SUPER,F,togglefullscreen, # fullscreen active window
|
||||
bind=SUPER,Q,killclient, # Close active window
|
||||
bind=SUPER+SHIFT,Q,quit, # Exit mango
|
||||
bind=SUPER+SHIFT,P,toggleoverlay, # toggle overlay mode
|
||||
bind=SUPER,P,spawn_shell,mmsg -d toggleglobal && mmsg -d togglefloating # pin window across workspaces
|
||||
|
||||
# "OS" functions
|
||||
bind=SUPER,L,spawn_shell,dms ipc call lock lock # locks screen
|
||||
bind=SUPER,SPACE,spawn_shell,dms ipc call spotlight toggleQuery # open runner menu
|
||||
bind=SUPER,V,spawn_shell,dms ipc call clipboard toggle # open clipboard
|
||||
bind=SUPER,I,spawn_shell,dms ipc call inhibit toggle # toggle sleep inhibit
|
||||
bind=SUPER+SHIFT,T,spawn_shell,dms ipc call theme toggle # toggle dark/light mode
|
||||
bind=SUPER,D,spawn_shell,dms ipc call dock toggle # toggle dock
|
||||
bind=SUPER,X,spawn_shell,dms ipc call processlist open # open process list
|
||||
bind=SUPER+SHIFT,N,spawn_shell,dms ipc call notifications open # open notifications
|
||||
bind=SUPER,ESCAPE,spawn_shell,dms ipc call control-center toggle # toggle control center
|
||||
bind=SUPER,Z,spawn_shell,dms ipc call powermenu toggle # toggle power menu
|
||||
bind=SUPER,S,spawn_shell,dms ipc call settings toggle # toggle settings
|
||||
bind=SUPER,K,spawn_shell,dms ipc call keybinds toggleWithPath mangowc ~/.config/mango/binds.conf # show binds
|
||||
|
||||
#program launchers
|
||||
bind=SUPER,RETURN,spawn_shell,ghostty # Open terminal
|
||||
bind=SUPER,TAB,spawn_shell,ghostty # Open terminal
|
||||
bind=SUPER,E,spawn,nautilus # Open file browser
|
||||
bind=SUPER,B,spawn,firefox # open firefox
|
||||
bind=SUPER,N,spawn_shell,dms ipc call notepad open # open notes
|
||||
|
||||
|
||||
# Audio Ctrls
|
||||
bind=NONE,XF86AudioRaiseVolume,spawn_shell,dms ipc call audio increment 5 # audio up
|
||||
bind=NONE,XF86AudioLowerVolume,spawn_shell,dms ipc call audio decrement 5 # audio down
|
||||
bind=NONE,XF86AudioMute,spawn_shell,dms ipc call audio mute # mute audio
|
||||
bind=NONE,XF86AudioMicMute,spawn_shell,dms ipc call audio micmute # mute mic
|
||||
|
||||
# Brightness Ctrls
|
||||
bind=NONE,XF86MonBrightnessUp,spawn_shell,dms ipc call brightness increment 5 # brightness up
|
||||
bind=NONE,XF86MonBrightnessDown,spawn_shell,dms ipc call brightness decrement 5 # brightness down
|
||||
|
||||
# Other
|
||||
bind=NONE,XF86WLAN,spawn_shell,nmcli radio wifi toggle # toggle wifi
|
||||
bind=NONE,XF86Refresh,spawn_shell,xdotool key F5 # refresh
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
bind=SUPER,left,focusdir,left # Move focus left
|
||||
bind=SUPER,right,focusdir,right # Move focus right
|
||||
bind=SUPER,up,focusdir,up # Move focus up
|
||||
bind=SUPER,down,focusdir,down # Move focus down
|
||||
|
||||
# move window between monitors with win+Alt+arrow keys
|
||||
bind=SUPER+SHIFT,up,exchange_stack_client,prev # exchange stack client backwards
|
||||
bind=SUPER+SHIFT,down,exchange_stack_client,next # exchange stack client forwards
|
||||
bind=SUPER+Ctrl,left,exchange_client,left # swap window to left
|
||||
bind=SUPER+Ctrl,right,exchange_client,right # swap window to right
|
||||
bind=SUPER+Ctrl,up,exchange_client,up # swap window upwards
|
||||
bind=SUPER+Ctrl,down,exchange_client,down # swap window downwards
|
||||
bind=SUPER+Alt,left,resizewin,-50,+0 # resize window
|
||||
bind=SUPER+Alt,right,resizewin,+50,+0 # resize window
|
||||
bind=SUPER+Alt,up,resizewin,+0,-50 # resize window
|
||||
bind=SUPER+Alt,down,resizewin,+0,+50 # resize window
|
||||
|
||||
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind=SUPER+SHIFT,1,tag,1 # Move window to workspace 1
|
||||
bind=SUPER+SHIFT,2,tag,2 # Move window to workspace 2
|
||||
bind=SUPER+SHIFT,3,tag,3 # Move window to workspace 3
|
||||
bind=SUPER+SHIFT,4,tag,4 # Move window to workspace 4
|
||||
bind=SUPER+SHIFT,5,tag,5 # Move window to workspace 5
|
||||
bind=SUPER+SHIFT,6,tag,6 # Move window to workspace 6
|
||||
bind=SUPER+SHIFT,7,tag,7 # Move window to workspace 7
|
||||
bind=SUPER+SHIFT,8,tag,8 # Move window to workspace 8
|
||||
bind=SUPER+SHIFT,9,tag,9 # Move window to workspace 9
|
||||
|
||||
# switch between workspaces with mainmod + [1-9]
|
||||
bind=SUPER,1,view,1,0 # focus workspace 1
|
||||
bind=SUPER,2,view,2,0 # focus workspace 2
|
||||
bind=SUPER,3,view,3,0 # focus workspace 3
|
||||
bind=SUPER,4,view,4,0 # focus workspace 4
|
||||
bind=SUPER,5,view,5,0 # focus workspace 5
|
||||
bind=SUPER,6,view,6,0 # focus workspace 6
|
||||
bind=SUPER,7,view,7,0 # focus workspace 7
|
||||
bind=SUPER,8,view,8,0 # focus workspace 8
|
||||
bind=SUPER,9,view,9,0 # focus workspace 9
|
||||
|
||||
|
||||
# Mouse Button Bindings
|
||||
# btn_left and btn_right can't bind none mod key
|
||||
#mousebind=SUPER,btn_left,moveresize,curmove
|
||||
mousebind=NONE,btn_middle,togglemaximizescreen,0 # toggle maximize
|
||||
mousebind=SUPER,btn_right,moveresize,curresize # resize on drag
|
||||
|
||||
|
||||
#mousebind=SUPER,btn_left,spawn_shell,mmsg -d option dwindle_smart_split 1
|
||||
#bindr=NONE,super,spawn_shell,mmsg -d option dwindle_smart_split 0
|
||||
|
||||
# Axis Bindings
|
||||
axisbind=SUPER,UP,viewtoleft_have_client # scroll up through views
|
||||
axisbind=SUPER,DOWN,viewtoright_have_client # scroll down through views
|
||||
Reference in New Issue
Block a user