2 # wm independent hotkeys
6 super + {_,shift} + Return
9 #super + {_,shift} + Return
10 # termite{_, --name=tiled}
17 xfce4-popup-whiskermenu
39 # make sxhkd reload its configuration files:
44 XF86Audio{Raise,Lower}Volume
45 pamixer --allow-boost --{in,de}crease 5
52 XF86Audio{Play,Prev,Next}
53 mpc {toggle,prev,next}
57 light-locker-command -l
59 # Toggle keyboard layout
63 # Toggle Xfce presentation mode
65 toggle-presentation-mode
68 #XF86MonBrightness{Up,Down}
72 #XF86KbdBrightness{Up,Down}
87 # alternate between the tiled and monocle layout
91 # if the current node is automatic, send it to the last manual, otherwise pull the last leaf
93 bspc query -N -n focused.automatic && bspc node -n last.!automatic || bspc node last.leaf -n focused
95 # swap the current node and the biggest node
103 # set the window state
104 super + {t,shift + t,s,f}
105 bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
108 super + ctrl + {x,y,z}
109 bspc node -g {locked,sticky,private}
115 # focus the node in the given direction
116 super + {_,shift + }{h,j,k,l}
117 bspc node -{f,s} {west,south,north,east}
119 # focus the node for the given path jump
120 super + {p,b,comma,period}
121 bspc node -f @{parent,brother,first,second}
123 # focus the next/previous node in the current desktop
124 super + {_,shift + }c
125 bspc node -f {next,prev}.local
127 # focus the next/previous desktop in the current monitor
128 super + bracket{left,right}
129 bspc desktop -f {prev,next}.local
131 # send to next/prev desktop
132 super + shift + bracket{left,right}
133 bspc node -d {prev,next}
135 # focus the last node/desktop
137 bspc {node,desktop} -f last
139 # focus the older or newer node in the focus history
142 bspc node {older,newer} -f; \
145 # focus or send to the given desktop
146 super + {_,shift + }{1-9,0}
147 bspc {desktop -f,node -d} '^{1-9,10}'
153 # preselect the direction
154 super + ctrl + {h,j,k,l}
155 bspc node -p {west,south,north,east}
157 # preselect the ratio
161 # cancel the preselection for the focused node
165 # cancel the preselection for the focused desktop
166 super + ctrl + shift + space
167 bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
173 # expand a window by moving one of its side outward
174 super + alt + {h,j,k,l}
175 bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
177 # contract a window by moving one of its side inward
178 super + alt + shift + {h,j,k,l}
179 bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
181 # move a floating window
182 super + {Left,Down,Up,Right}
183 bspc node -v {-20 0,0 20,0 -20,20 0}
185 #alt + bracket{left,right}
186 # xdotool key --clearmodifiers ctrl+Page_{Up,Down}