index.md (956B)
1 swapmonitors 2 ============ 3 4 Description 5 ----------- 6 7 This patch adds the ability to swap tagsets and clients between monitors in dwm. 8 It is particularly useful for users with multiple monitors who want to quickly 9 rearrange workspaces by moving all windows and their tag assignments from one 10 monitor to another. 11 12 #### Usage 13 14 After applying the patch, the following key binding is available by default: 15 16 **MODKEY + Shift + Apostrophe (')** 17 18 This keybinding will: 19 20 - Swap the currently active monitor's tagset with that of the adjacent monitor. 21 - Move all clients (windows) between the two monitors, effectively swapping 22 their contents. 23 24 > You can customize this keybinding by modifying the following line in `config.def.h` file: 25 > 26 > ``` 27 > { MODKEY|ShiftMask, XK_apostrophe, swapmon, {0} }, 28 > ``` 29 30 Download 31 -------- 32 * [dwm-swapmonitors-20250509-4cd2832.diff](dwm-swapmonitors-20250509-4cd2832.diff) 33 34 Author 35 ------ 36 * Jameel Sawafta - <jameelhsawafta@gmail.com>