This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scratchpad.patch for dwm 5.9 | |
A scratchpad is a window that is assigned the (hidden) scratchtag. | |
A window becomes a scratchpad if its WM_NAME at its creation time is the value | |
of the scratchpadname variable. | |
togglescratchpad() is actually a variant of toggleview(). | |
To use this, put the following definitions in config.h: | |
static const char scratchpadname[] = "Scratchpad"; /* make it unique, avoid name collision */ | |
static const char *scratchpadcmd[] = { "uxterm", "-title", scratchpadname, "-geometry", "80x20", NULL }; /* WM_NAME must be scratchpadname */ |