sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (957B)


      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 
     15 After applying the patch, the following key binding is available by default:
     16 
     17 **MODKEY + Shift + Apostrophe (')**
     18 
     19 This keybinding will:
     20 
     21 - Swap the currently active monitor's tagset with that of the adjacent monitor.
     22 - Move all clients (windows) between the two monitors, effectively swapping 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>