index.md (1365B)
1 bulkill 2 ======= 3 4 Description 5 ----------- 6 7 Built-in dwm provides `MOD+Shift+c` to close current window. 8 9 We add: 10 11 * `MOD+Ctrl+c` to directly close all windows in current tag, but except current window. 12 * `MOD+Ctrl+Shift+c` to directly close all windows in current tag, include current window. 13 14 Download 15 -------- 16 17 * `safe`: will not change original `dwm.c` file. We add a standalone `bulkill.c` to achieve the goal, but code will be slightly redundant. 18 * Without `safe`: Directly integrate into default `killclient` function in `dwm.c`, less code redundancy. 19 * `systray`: will be compatible with `systray` patch, but you should patch the `systray` first, then patch ours. 20 21 Recommend: 22 23 * If you are a newbie and you afraid the forthcoming patch might mess things up, use `safe` version. 24 * If you pursue ultimate clean code, use the non-`safe` version. 25 26 * [dwm-bulkill-20231029-9f88553.diff](dwm-bulkill-20231029-9f88553.diff) 27 * [dwm-bulkill-safe-20231029-9f88553.diff](dwm-bulkill-safe-20231029-9f88553.diff) 28 * [dwm-bulkill-systray-20231029-9f88553.diff](dwm-bulkill-systray-20231029-9f88553.diff) 29 * [dwm-bulkill-systray-safe-20231029-9f88553.diff](dwm-bulkill-systray-safe-20231029-9f88553.diff) 30 31 References 32 ---------- 33 34 * https://www.reddit.com/r/dwm/comments/rybfeu/kill_all_windows_in_a_workspace_same_tag 35 36 37 Authors 38 ------- 39 40 * Songli Yu - <www.songli.yu@gmail.com>