mirror of
				https://codeberg.org/dwl/dwl-patches.git
				synced 2025-10-26 17:54:17 +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 window
- focusortogglescratch: change the focus to the scratchpad window if it is visible and toggles it if it is already in focus
- focusortogglematchingscratch: similar to- focusortogglescratchbut 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.
