mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-07 19:54:50 +00:00
Description
Allows for the creation of multiple scratchpad windows, each assigned to a different keybinding. In simple terms, it enables 'run or raise' functionality
This patch adds the following functions:
togglescratch
: simply toggles the scratchpad windowfocusortogglescratch
: change the focus to the scratchpad window if it is visible and toggles it if it is already in focusfocusortogglematchingscratch
: similar tofocusortogglescratch
but also closes all other scratchpad windows
If you don't assign keybindings to any of the above functions and so get a compiler warning about them not being used, just remove them from your dwl branch to stop the warning.