namedscratchpads: rebased and adopted by me

This commit is contained in:
Ben Collerson
2024-07-13 15:29:51 +10:00
parent 42f83f3d3b
commit b62bfda94b
2 changed files with 115 additions and 254 deletions
+7 -3
View File
@@ -2,14 +2,18 @@
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
* `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 `focusortogglescratch` 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.
### Download
- [git branch](https://codeberg.org/wochap/dwl/src/branch/v0.5/namedscratchpads)
- [v0.5](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/namedscratchpads/namedscratchpads.patch)
- [git branch](https://codeberg.org/bencc/dwl/src/branch/namedscratchpads)
- [2024-07-13](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/namedscratchpads/namedscratchpads.patch)
### Authors
- [Ben Collerson](https://codeberg.org/bencc)
- [wochap](https://codeberg.org/wochap)
- [Louis-Michel Raynauld](https://github.com/loumray)