2 # wm independent hotkeys
13 # make sxhkd reload its configuration files:
29 # alternate between the tiled and monocle layout
33 # send the newest marked node to the newest preselected node
35 bspc newest.marked.local -n newest.!automatic.local
37 # swap the current node and the biggest node
45 # set the window state
46 super + {t,shift + t,s,f}
47 bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
50 super + ctrl + {m,x,y,z}
51 bspc node -g {marked,locked,sticky,private}
57 # focus the node in the given direction
58 super + {_,shift + }{h,j,k,l}
59 bspc node -{f,s} {west,south,north,east}
61 # focus the node for the given path jump
62 super + {p,b,comma,period}
63 bspc node -f @{parent,brother,first,second}
65 # focus the next/previous node in the current desktop
67 bspc node -f {next,prev}.local
69 # focus the next/previous desktop in the current monitor
70 super + bracket{left,right}
71 bspc desktop -f {prev,next}.local
73 # focus the last node/desktop
75 bspc {node,desktop} -f last
77 # focus the older or newer node in the focus history
80 bspc node {older,newer} -f; \
83 # focus or send to the given desktop
84 super + {_,shift + }{1-9,0}
85 bspc {desktop -f,node -d} '^{1-9,10}'
91 # preselect the direction
92 super + ctrl + {h,j,k,l}
93 bspc node -p {west,south,north,east}
99 # cancel the preselection for the focused node
103 # cancel the preselection for the focused desktop
104 super + ctrl + shift + space
105 bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
111 # expand a window by moving one of its side outward
112 super + alt + {h,j,k,l}
113 bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
115 # contract a window by moving one of its side inward
116 super + alt + shift + {h,j,k,l}
117 bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
119 # move a floating window
120 super + {Left,Down,Up,Right}
121 bspc node -v {-20 0,0 20,0 -20,20 0}