2023-11-22 16:53:33 -06:00
|
|
|
# spawn a terminal
|
2021-05-09 19:04:25 -05:00
|
|
|
super + Return
|
2023-11-22 16:53:33 -06:00
|
|
|
st
|
2021-05-09 19:04:25 -05:00
|
|
|
|
2024-11-04 01:26:35 -06:00
|
|
|
ctrl + b; c
|
|
|
|
st
|
|
|
|
|
|
|
|
ctrl + b; Return
|
|
|
|
st
|
|
|
|
|
2023-11-22 16:53:33 -06:00
|
|
|
# spawn the launcher
|
2021-05-09 19:04:25 -05:00
|
|
|
super + d
|
2024-12-25 07:29:11 -06:00
|
|
|
dmenu_run
|
2022-06-26 19:57:05 -05:00
|
|
|
|
2024-11-04 01:26:35 -06:00
|
|
|
ctrl + b; d
|
2024-12-25 07:29:11 -06:00
|
|
|
dmenu_run
|
2024-11-24 20:26:39 -06:00
|
|
|
|
2023-11-22 16:53:33 -06:00
|
|
|
# kill sxhkd with USR1 and restart bspwm
|
2021-05-09 19:04:25 -05:00
|
|
|
super + r
|
2023-11-22 16:53:33 -06:00
|
|
|
pkill -USR1 -x sxhkd; \
|
|
|
|
bspc wm -r
|
2021-05-09 19:04:25 -05:00
|
|
|
|
2024-11-04 01:26:35 -06:00
|
|
|
ctrl + b; r
|
|
|
|
pkill -USR1 -x sxhkd; \
|
|
|
|
bspc wm -r
|
|
|
|
|
2023-11-22 16:53:33 -06:00
|
|
|
# switch to "mouse mode"
|
2023-11-15 21:04:50 -06:00
|
|
|
super + m
|
2024-12-25 07:29:11 -06:00
|
|
|
sxhkd-mode mouse
|
2022-07-06 00:36:14 -05:00
|
|
|
|
2024-11-04 01:26:35 -06:00
|
|
|
ctrl + b; m
|
2024-12-25 07:29:11 -06:00
|
|
|
sxhkd-mode mouse
|
|
|
|
|
|
|
|
# switch to "nodemanip" mode
|
|
|
|
super + n
|
|
|
|
sxhkd-mode nodemanip
|
|
|
|
|
|
|
|
ctrl + b; n
|
|
|
|
sxhkd-mode nodemanip
|
2024-11-04 01:26:35 -06:00
|
|
|
|
2023-11-22 16:53:33 -06:00
|
|
|
# kill the current node
|
2021-05-09 19:04:25 -05:00
|
|
|
super + q
|
2023-11-22 16:53:33 -06:00
|
|
|
bspc node -c
|
2021-05-09 19:04:25 -05:00
|
|
|
|
2024-11-04 01:26:35 -06:00
|
|
|
ctrl + b; q
|
|
|
|
bspc node -c
|
|
|
|
|
2023-11-22 16:53:33 -06:00
|
|
|
# kill bspwm
|
2021-05-09 19:04:25 -05:00
|
|
|
super + e
|
2023-11-22 16:53:33 -06:00
|
|
|
bspc quit 0
|
2021-05-09 19:04:25 -05:00
|
|
|
|
2024-11-04 01:26:35 -06:00
|
|
|
ctrl + b; e
|
2024-11-04 01:45:16 -06:00
|
|
|
bspc quit 0; \
|
|
|
|
pkill X # phone starts bspwm differently
|
|
|
|
# to take everything down, we need to kill X
|
2024-11-04 01:26:35 -06:00
|
|
|
|
2023-11-22 16:53:33 -06:00
|
|
|
# systemctl suspend
|
2022-07-31 19:23:15 -05:00
|
|
|
super + shift + e
|
2023-11-22 16:53:33 -06:00
|
|
|
systemctl suspend
|
2022-07-31 19:23:15 -05:00
|
|
|
|
2024-04-15 19:33:35 -05:00
|
|
|
# password menu
|
|
|
|
super + z
|
2024-12-25 07:29:11 -06:00
|
|
|
rbw-dmenu-list
|
2024-04-15 19:33:35 -05:00
|
|
|
|
2024-11-04 01:26:35 -06:00
|
|
|
ctrl + b; z
|
2024-12-25 07:29:11 -06:00
|
|
|
rbw-dmenu-list
|
2024-04-25 09:51:01 -05:00
|
|
|
|
2023-11-22 16:53:33 -06:00
|
|
|
# manipulate a node
|
2021-07-16 16:44:32 -05:00
|
|
|
super + {_,ctrl +,shift + }{h,j,k,l}
|
2023-11-22 16:53:33 -06:00
|
|
|
bspc node -{f,p,s} {west,south,north,east}
|
2021-05-09 19:04:25 -05:00
|
|
|
|
2024-11-04 01:26:35 -06:00
|
|
|
ctrl + b; {_,ctrl +,shift + }{h,j,k,l}
|
|
|
|
bspc node -{f,p,s} {west,south,north,east}
|
|
|
|
|
2023-11-22 16:53:33 -06:00
|
|
|
# change to or move a node to a desktop
|
2021-05-09 19:04:25 -05:00
|
|
|
super + {_,shift + } {1-9,0}
|
2024-10-21 22:20:46 -05:00
|
|
|
bspc {desktop -f,node -d} '0{1-9,0}'
|
|
|
|
|
2024-11-04 01:26:35 -06:00
|
|
|
ctrl + b; {_,shift + } {1-9,0}
|
|
|
|
bspc {desktop -f,node -d} '0{1-9,0}'
|
|
|
|
|
2023-11-22 16:53:33 -06:00
|
|
|
# change a node to tiling, floating, or fullscreen
|
2021-05-09 19:04:25 -05:00
|
|
|
super + {t,f,s}
|
2023-11-22 16:53:33 -06:00
|
|
|
bspc node -t {tiled,floating,fullscreen}
|
2024-02-04 07:48:42 -06:00
|
|
|
|
2024-11-04 01:26:35 -06:00
|
|
|
ctrl + b; {t,f,s}
|
|
|
|
bspc node -t {tiled,floating,fullscreen}
|
|
|
|
|
2024-05-28 10:14:25 -05:00
|
|
|
shift + Insert
|
2024-12-25 07:29:11 -06:00
|
|
|
dmenu-special
|
2024-11-04 01:26:35 -06:00
|
|
|
|
|
|
|
# phone specific -- send the escape key since we can't use it
|
2024-11-18 19:01:28 -06:00
|
|
|
ctrl + b; [
|
2024-11-04 01:26:35 -06:00
|
|
|
xdotool key Escape
|
2024-11-18 17:44:29 -06:00
|
|
|
|
2024-11-24 20:26:39 -06:00
|
|
|
# you're using tmux and you need ctrl+b
|
|
|
|
ctrl + b; ~ctrl + b
|
|
|
|
echo ctrlb passthrough
|