# spawn a terminal super + Return st ctrl + b; c st ctrl + b; Return st # spawn the launcher super + d tmenu_run ctrl + b; d tmenu_run # launch brave with profile selection super + b brave-launcher ctrl + b; b brave-launcher # kill sxhkd with USR1 and restart bspwm super + r pkill -USR1 -x sxhkd; \ bspc wm -r ctrl + b; r pkill -USR1 -x sxhkd; \ bspc wm -r # switch to "mouse mode" super + m mode mouse ctrl + b; m mode mouse # kill the current node super + q bspc node -c ctrl + b; q bspc node -c # kill bspwm super + e bspc quit 0 ctrl + b; e bspc quit 0; \ pkill X # phone starts bspwm differently # to take everything down, we need to kill X # systemctl suspend super + shift + e systemctl suspend # password menu super + z passmenu ctrl + b; z passmenu # manipulate a node super + {_,ctrl +,shift + }{h,j,k,l} bspc node -{f,p,s} {west,south,north,east} ctrl + b; {_,ctrl +,shift + }{h,j,k,l} bspc node -{f,p,s} {west,south,north,east} # change to or move a node to a desktop super + {_,shift + } {1-9,0} bspc {desktop -f,node -d} '0{1-9,0}' super + space; {_,shift + } {1-9,0} bspc {desktop -f,node -d} '1{1-9,0}' ctrl + b; {_,shift + } {1-9,0} bspc {desktop -f,node -d} '0{1-9,0}' ctrl + b; space; {_,shift + } {1-9,0} bspc {desktop -f,node -d} '1{1-9,0}' # change a node to tiling, floating, or fullscreen super + {t,f,s} bspc node -t {tiled,floating,fullscreen} ctrl + b; {t,f,s} bspc node -t {tiled,floating,fullscreen} shift + Insert special_ins # phone specific -- send the escape key since we can't use it ctrl + b; [ xdotool key Escape # mouse keybindings on the keypad # move left {ctrl +,shift +} KP_6 xdotool mousemove_relative -- {5,50} 0 # move down {ctrl +,shift +} KP_2 xdotool mousemove_relative -- 0 {5,50} # move up {ctrl +,shift +} KP_8 xdotool mousemove_relative -- 0 {-5,-50} # move right {ctrl +,shift +} KP_4 xdotool mousemove_relative -- {-5,-50} 0 {ctrl +,shift +} KP_Divide xdotool mousedown 1 {ctrl +,shift +} KP_Multiply xdotool mousedown 2 {ctrl +,shift +} KP_Subtract xdotool mousedown 3 {ctrl +,shift +} @KP_Divide xdotool mouseup 1 {ctrl +,shift +} @KP_Multiply xdotool mouseup 2 {ctrl +,shift +} @KP_Subtract xdotool mouseup 3 KP_Divide xdotool mousedown 1 KP_Multiply xdotool mousedown 2 KP_Subtract xdotool mousedown 3 @KP_Divide xdotool mouseup 1 @KP_Multiply xdotool mouseup 2 @KP_Subtract xdotool mouseup 3 # you're using tmux and you need ctrl+b ctrl + b; ~ctrl + b echo ctrlb passthrough