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
46 XF86Audio{Play,Prev,Next}
47 mpc {toggle,prev,next}
53 # Toggle keyboard layout
57 # Toggle Xfce presentation mode
59 toggle-presentation-mode
62 #XF86MonBrightness{Up,Down}
63 # light -s mba6x_backlight -{A,U} 10
66 #XF86KbdBrightness{Up,Down}
81 # alternate between the tiled and monocle layout
85 # if the current node is automatic, send it to the last manual, otherwise pull the last leaf
87 bspc query -N -n focused.automatic && bspc node -n last.!automatic || bspc node last.leaf -n focused
89 # swap the current node and the biggest node
97 # set the window state
98 super + {t,shift + t,s,f}
99 bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
102 super + ctrl + {x,y,z}
103 bspc node -g {locked,sticky,private}
109 # focus the node in the given direction
110 super + {_,shift + }{h,j,k,l}
111 bspc node -{f,s} {west,south,north,east}
113 # focus the node for the given path jump
114 super + {p,b,comma,period}
115 bspc node -f @{parent,brother,first,second}
117 # focus the next/previous node in the current desktop
118 super + {_,shift + }c
119 bspc node -f {next,prev}.local
121 # focus the next/previous desktop in the current monitor
122 super + bracket{left,right}
123 bspc desktop -f {prev,next}.local
125 # send to next/prev desktop
126 super + shift + bracket{left,right}
127 bspc node -d {prev,next}
129 # focus the last node/desktop
131 bspc {node,desktop} -f last
133 # focus the older or newer node in the focus history
136 bspc node {older,newer} -f; \
139 # focus or send to the given desktop
140 super + {_,shift + }{1-9,0}
141 bspc {desktop -f,node -d} '^{1-9,10}'
147 # preselect the direction
148 super + ctrl + {h,j,k,l}
149 bspc node -p {west,south,north,east}
151 # preselect the ratio
155 # cancel the preselection for the focused node
159 # cancel the preselection for the focused desktop
160 super + ctrl + shift + space
161 bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
167 # expand a window by moving one of its side outward
168 super + alt + {h,j,k,l}
169 bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
171 # contract a window by moving one of its side inward
172 super + alt + shift + {h,j,k,l}
173 bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
175 # move a floating window
176 super + {Left,Down,Up,Right}
177 bspc node -v {-20 0,0 20,0 -20,20 0}