2 # wm independent hotkeys
6 super + {_,shift} + Return
33 # make sxhkd reload its configuration files:
38 XF86Audio{Raise,Lower}Volume
39 pamixer --allow-boost --{in,de}crease 5
49 # Toggle keyboard layout
53 # Toggle Xfce presentation mode
55 toggle-presentation-mode
58 #XF86MonBrightness{Up,Down}
59 # light -s mba6x_backlight -{A,U} 10
62 #XF86KbdBrightness{Up,Down}
77 # alternate between the tiled and monocle layout
81 # if the current node is automatic, send it to the last manual, otherwise pull the last leaf
83 bspc query -N -n focused.automatic && bspc node -n last.!automatic || bspc node last.leaf -n focused
85 # swap the current node and the biggest node
93 # set the window state
94 super + {t,shift + t,s,f}
95 bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
98 super + ctrl + {x,y,z}
99 bspc node -g {locked,sticky,private}
105 # focus the node in the given direction
106 super + {_,shift + }{h,j,k,l}
107 bspc node -{f,s} {west,south,north,east}
109 # focus the node for the given path jump
110 super + {p,b,comma,period}
111 bspc node -f @{parent,brother,first,second}
113 # focus the next/previous node in the current desktop
114 super + {_,shift + }c
115 bspc node -f {next,prev}.local
117 # focus the next/previous desktop in the current monitor
118 super + bracket{left,right}
119 bspc desktop -f {prev,next}.local
121 # send to next/prev desktop
122 super + shift + bracket{left,right}
123 bspc node -d {prev,next}
125 # focus the last node/desktop
127 bspc {node,desktop} -f last
129 # focus the older or newer node in the focus history
132 bspc node {older,newer} -f; \
135 # focus or send to the given desktop
136 super + {_,shift + }{1-9,0}
137 bspc {desktop -f,node -d} '^{1-9,10}'
143 # preselect the direction
144 super + ctrl + {h,j,k,l}
145 bspc node -p {west,south,north,east}
147 # preselect the ratio
151 # cancel the preselection for the focused node
155 # cancel the preselection for the focused desktop
156 super + ctrl + shift + space
157 bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
163 # expand a window by moving one of its side outward
164 super + alt + {h,j,k,l}
165 bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
167 # contract a window by moving one of its side inward
168 super + alt + shift + {h,j,k,l}
169 bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
171 # move a floating window
172 super + {Left,Down,Up,Right}
173 bspc node -v {-20 0,0 20,0 -20,20 0}