summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2024-03-04 19:15:34 -0500
committerMatt Hunter <m@lfurio.us>2026-01-18 00:18:57 -0500
commita6cc118b3606551de5cb9a1a5a59897ba347716c (patch)
tree83ed53f532d35cfa78009381eeeaa5a890b43316 /Makefile
parentcc76324a76064f130d0bdce6b6af266162774b60 (diff)
downloaddwm-a6cc118b3606551de5cb9a1a5a59897ba347716c.tar.gz
dwm-a6cc118b3606551de5cb9a1a5a59897ba347716c.zip
patch: scratchpadz
This patch enables the use of multiple pre-assigned scratchpad terminals. This patch uses reserved tags for stowing scratchpads, these are the tagmasks just beyond those defined for normal use. DWM's rule system is used to handle spawning scratchpad windows. We use one rule per scratchpad to define what SPTAG it belongs to, whether it is floating, an instance identifier, and what program to exec in st (your shell by default). Keybinds should be setup to call togglescratch with a pointer to the rule struct which defines the scratchpad. The togglescratch function uses the information in the rule to craft an st command line to spawn. However, if some client is already open on the rule's tagmask, it will just act like toggleview(tagmask). Normal clients may be opened while viewing scratchpads, they are always excluded from scratchpad tags. This patch is inspired by the "scratchpad" and "scratchpads" patches from suckless.org.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions