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