#------------------------------------------------ #-- Config sxhkdrc by: H4x4g0N #------------------------------------------------ #-- BSPWM HOTKEYS: #------------------------------------------------ #-- CLOSE AND KILL WINDOW: #------------------------------------------------ alt + {_,shift + }q bspc node -{c,k} #------------------------------------------------ #-- CYCLE LAYOUT: #------------------------------------------------ alt + m bspc desktop -l next #------------------------------------------------ #-- BALANCE WINDOWS - SAME AREA: #------------------------------------------------ alt + b bspc desktop -B #------------------------------------------------ #-- SET FLOATING OR FULLSCREEN: #------------------------------------------------ alt + {t,shift + t,s,f} bspc node -t {tiled,pseudo_tiled,floating,fullscreen} #------------------------------------------------ #-- SWAP DESKTOPS WITH LAST: #------------------------------------------------ alt + apostrophe bspc window -s last alt + {o,i} bspc wm -h off; \ bspc node {older,newer} -f; \ bspc wm -h on alt + {grave,Tab} bspc {window,desktop} -f last alt + y bspc window -w last.manual #------------------------------------------------- #-- SWAP CURRENT WINDOW WITH THE BIGGEST ON SCREEN: #------------------------------------------------- alt + n bspc window -s biggest alt + {_,shift + }{j,k,i,l} bspc window -{f,s} {left,down,up,right} #------------------------------------------------ #-- ROTATE TREE: #------------------------------------------------ alt + shift + r bspc desktop -R 90 #------------------------------------------------ #-- CYCLE WINDOW FORWARD OR BACKWARD: #------------------------------------------------ alt + {_,shift + }c bspc node -f {next,prev}.local alt + {a,d} bspc desktop -f {prev,next} #------------------------------------------------ #-- SELECT WHERE TO SPLIT: #------------------------------------------------ alt + ctrl + {Left,Down,Up,Right} bspc window -p {left,down,up,right} #------------------------------------------------ #-- CANCEL PRESELECT SPLIT: #------------------------------------------------ alt + {Left,Down,Up,Right} bspc node -v {-20 0,0 20,0 -20,20 0} #------------------------------------------------ #-- SEND WINDOW TO DESKTOP: #------------------------------------------------ alt + {_,shift + }{1-9,0} bspc {desktop -f,node -d} '^{1-9,10}' #------------------------------------------------ #-- MOVER E REDIMENSIONAR JANELAS COM O MOUSE: #------------------------------------------------ ~button1 bspc pointer -g focus alt + button{1-3} bspc pointer -g {move,resize_side,resize_corner} alt + !button{1-3} bspc pointer -t %i %i alt + @button{1-3} bspc pointer -u #------------------------------------------------ #-- WM INDEPENDENT HOTKEYS: #------------------------------------------------ alt + Return termite alt + control + f firefox alt + control + m {termite -e mutt} alt + r {termite -e ranger} alt + {F1,F2} {amixer sset Master playback 5%+,amixer sset Master playback 5%-} alt + F5 amixer sset Master toggle alt + p rofi -show run -width 400 -lines 5 -font "Pragmatapro 9" -hide-scrollbar -glob -$ #------------------------------------------------ #-- MAKE sxhkd RELOAD ITS CONFIGURATION FILES: #------------------------------------------------ alt + Escape pkill -x panel; bspc quit #super + Escape # pkill -USR1 -x sxhkd