A simple script to provide i3-like scratchpad functionality for bspwm.
Put the script in your $PATH. Main functions:
- Put focused window into scratchpad or remove it from scratchpad:
bspscratchpad --toggle- Cycle through the windows in scratchpad:
bspscratchpad --cycleThese commands are meant to be executed with the help of a hot-key daemon, for instance, sxhkd, xbindkeysrc, etc. I have the following lines in my sxhkdrc:
mod1 + shift + w
bspscratchpad --toggle
mod1 + w
bspscratchpad --cycle