-XF86AudioMute
- pulseaudio-ctl mute
-
-#XF86AudioRaiseVolume
-# pamixer --increase 5;\
-# pamixer --get-volume > /tmp/volinfo
-
-#XF86AudioLowerVolume
-# pamixer --decrease 5;\
-# pamixer --get-volume > /tmp/volinfo
-
-#XF86AudioMute
-# pamixer --toggle-mute;\
-# if $(pamixer --get-mute) ; then;\
-# echo ⮝ > /tmp/spkicon;\
-# else;\
-# echo ⮟ > /tmp/spkicon;\
-# fi
+# preselect the ratio
+super + ctrl + {1-9}
+ bspc node -o 0.{1-9}
+
+# cancel the preselection for the focused node
+super + ctrl + space
+ bspc node -p cancel
+
+# cancel the preselection for the focused desktop
+super + ctrl + shift + space
+ bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
+
+#
+# move/resize
+#
+
+# expand a window by moving one of its side outward
+super + alt + {h,j,k,l}
+ bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
+
+# contract a window by moving one of its side inward
+super + alt + shift + {h,j,k,l}
+ bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
+
+# move a floating window
+super + {Left,Down,Up,Right}
+ bspc node -v {-20 0,0 20,0 -20,20 0}