dot_testing/.config/sxhkd/sxhkdrc

97 lines
1.5 KiB
Plaintext
Raw Normal View History

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
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
2023-11-22 16:53:33 -06:00
tmenu_run
2022-06-26 19:57:05 -05:00
ctrl + b; d
tmenu_run
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
ctrl + b; r
pkill -USR1 -x sxhkd; \
bspc wm -r
# show nws radar
2021-05-12 12:47:00 -05:00
super + {_,shift + }n
2023-11-22 16:53:33 -06:00
nws {local,national}
2021-05-12 12:47:00 -05:00
2023-11-22 16:53:33 -06:00
# switch to "mouse mode"
2023-11-15 21:04:50 -06:00
super + m
mode mouse
2022-07-06 00:36:14 -05:00
ctrl + b; m
mode mouse
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
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
ctrl + b; e
bspc quit 0
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
passmenu
ctrl + b; z
passmenu
2023-11-22 16:53:33 -06:00
# manipulate a node
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
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}
bspc {desktop -f,node -d} '0{1-9,0}'
super + space; {_,shift + } {1-9,0}
bspc {desktop -f,node -d} '1{1-9,0}'
2021-05-09 19:04:25 -05: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
ctrl + b; {t,f,s}
bspc node -t {tiled,floating,fullscreen}
2024-05-13 18:44:23 -05:00
# x230t specific -- activate the tablet menu
2024-02-04 07:48:42 -06:00
XF86RotateWindows
tabletmenu
shift + Insert
special_ins
# phone specific -- send the escape key since we can't use it
super + b; [
xdotool key Escape