# launch rofi super + space rofi -modi drun,run -show drun # Return to launch terminal emulator # b to launch browser super + {Return,b} {alacritty,firefox} # w to reload/relaunch feh/change bg # p to reload/relaunch polybar # Escape to turn screen off and lock the computer super + shift + {w,p,Escape} {bash $HOME/.config/feh/fehbg &,bash $HOME/.config/polybar/launch.sh &,bash $HOME/.config/sxhkd/mods/module_lock_script.sh} # c to reload config # q to quit selected window super + shift + {c,q} {pkill -USR1 -x sxhkd && bspc wm -r,bspc node -c} # t to enable tiled mode for current window # shift + t to enable floating mode for current window # f to enable fullscreen mode for current window super + {t,shift + t,f} bspc node -t {tiled,floating,fullscreen} # super h,j,k,l to move between windows # add shift to swap the window to left right etc super + {_,shift +, ctrl +}{h,j,k,l} bspc node -{f,s,n} {west,south,north,east} # expand a window by moving one of its side outward super + alt + shift {h,j,k,l} bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0} #contract a window by moving one of its side inward super + ctrl + shift + {h,j,k,l} bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0} # focus the next/previous desktop in the current monitor super + bracket{left,right} bspc desktop -f {prev,next}.local # [ to decrease volume by 10% # ] to increase volume by 10% super + shift + bracket{left,right} {bash $HOME/.config/sxhkd/mods/module_alsa.sh down,bash $HOME/.config/sxhkd/mods/module_alsa.sh up} # switch between nodes (locally) alt + {_,shift} + Tab bspc node -f {next,prev}.local.!hidden.window # focus or send to the given desktop super + {_,shift + }{1-9,0} bspc {desktop -f,node -d} '^{1-9,10}' # move a floating window super + {Left,Down,Up,Right} bspc node -v {-20 0,0 20,0 -20,20 0} # bspwm rotate: split horizontally/vertically super + shift + {v,s} bspc node @parent -R {90,90} # exit bspwn (return to console) super + shift + ctrl + alt + 0 bspc quit