Useful bspwm Shorcuts
bspwm is a tiling window manager along the lines of qtile and i3. The window manager, bspwm, does not handle any keyboard inputs and a third party program, sxhkd, is needed in order to translate keyboard events to navigate around bspwm.
Most of my keyboard shortcuts are the default from 'sxhkd'. However, there are a few additions which have made navigation much easier for me.
1. Rotate an application around the current desktop
The keys 'p' and 'o' can be changed for whatever you prefer - they just work for me! If you use 'super + shift + p' this will move your windows in a clockwise direction around the desktop.
2. Expand/contract a window by moving one of its side outward/inward
There is a command in 'sxhkd' which allows you to expand and contract a window but, for me, it feels cumbersome and counter-intuitive. The original sxhkd keyboard shortcuts are:
# expand a window by moving one of its side outward
# contract a window by moving one of its side inward
For me a simpler method is as follows:
STEP=20; SELECTION=; \
|| \
3. Focus the next/previous desktop in the current monitor
This one took me a while to find but one which I really wanted. It allows you to rotate through your desktops - in my case I have 5. The shortcut makes it a breeze to move through them, either backwards or forwards:
If needed, my configuration file can be found on my GitLab page.