2 # wm independent hotkeys
6 super + {_,shift} + Return
9 #super + {_,shift} + Return
10 # termite{_, --name=tiled}
14 rofi -show run -display-run '> ' -display-window ' 🗔 '
17 xfce4-popup-whiskermenu
21 rofi -show window -display-run '> ' -display-window ' 🗔 '
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}
75 #XF86KbdBrightness{Up,Down}
90 # alternate between the tiled and monocle layout
94 # if the current node is automatic, send it to the last manual, otherwise pull the last leaf
96 bspc query -N -n focused.automatic && bspc node -n last.!automatic || bspc node last.leaf -n focused
98 # swap the current node and the biggest node
106 # set the window state
107 super + {t,shift + t,s,f}
108 bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
111 super + ctrl + {x,y,z}
112 bspc node -g {locked,sticky,private}
118 # focus the node in the given direction
119 super + {_,shift + }{h,j,k,l}
120 bspc node -{f,s} {west,south,north,east}
122 # focus the node for the given path jump
123 super + {p,b,comma,period}
124 bspc node -f @{parent,brother,first,second}
126 # focus the next/previous node in the current desktop
127 super + {_,shift + }c
128 bspc node -f {next,prev}.local
130 # focus the next/previous desktop in the current monitor
131 super + bracket{left,right}
132 bspc desktop -f {prev,next}.local
134 # send to next/prev desktop
135 super + shift + bracket{left,right}
136 bspc node -d {prev,next}
138 # focus the last node/desktop
140 bspc {node,desktop} -f last
142 # focus the older or newer node in the focus history
145 bspc node {older,newer} -f; \
148 # focus or send to the given desktop
149 super + {_,shift + }{1-9,0}
150 bspc {desktop -f,node -d} '^{1-9,10}'
156 # preselect the direction
157 super + ctrl + {h,j,k,l}
158 bspc node -p {west,south,north,east}
160 # preselect the ratio
164 # cancel the preselection for the focused node
168 # cancel the preselection for the focused desktop
169 super + ctrl + shift + space
170 bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
176 # expand a window by moving one of its side outward
177 super + alt + {h,j,k,l}
178 bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
180 # contract a window by moving one of its side inward
181 super + alt + shift + {h,j,k,l}
182 bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
184 # move a floating window
185 super + {Left,Down,Up,Right}
186 bspc node -v {-20 0,0 20,0 -20,20 0}
188 #alt + bracket{left,right}
189 # xdotool key --clearmodifiers ctrl+Page_{Up,Down}