bulkill
Description
Built-in dwm provides MOD+Shift+c to close current window.
We add:
MOD+Ctrl+cto directly close all windows in current tag, but except current window.MOD+Ctrl+Shift+cto directly close all windows in current tag, include current window.
Download
safe: will not change originaldwm.cfile. We add a standalonebulkill.cto achieve the goal, but code will be slightly redundant.- Without
safe: Directly integrate into defaultkillclientfunction indwm.c, less code redundancy. systray: will be compatible withsystraypatch, but you should patch thesystrayfirst, then patch ours.
Recommend:
- If you are a newbie and you afraid the forthcoming patch might mess things up, use
safeversion. If you pursue ultimate clean code, use the non-
safeversion.
References
- https://www.reddit.com/r/dwm/comments/rybfeu/killallwindowsinaworkspacesame_tag
Authors
- Songli Yu - www.songli.yu@gmail.com