index.md - sites - public wiki contents of suckless.org | |
git clone git://git.suckless.org/sites | |
Log | |
Files | |
Refs | |
--- | |
index.md (966B) | |
--- | |
1 swapwindows | |
2 =========== | |
3 | |
4 Description | |
5 ----------- | |
6 | |
7 This patch enables swapping the currently focused client (window) with t… | |
8 selected window on another monitor. | |
9 It is useful for moving a window between monitors while preserving windo… | |
10 and layout order. | |
11 | |
12 #### Usage | |
13 | |
14 After applying the patch, the following key binding is available by defa… | |
15 | |
16 **MODKEY + Shift + /** | |
17 | |
18 This keybinding will: | |
19 | |
20 - Swap the currently focused window with the focused window on the next | |
21 monitor (if one exists). | |
22 - If the other monitor has no selected client, it will simply move the c… | |
23 focused window there. | |
24 - Automatically rearrange and refocus windows as needed after the operat… | |
25 | |
26 > You can customize this keybinding in your `config.def.h` file: | |
27 > | |
28 > ``` | |
29 > { MODKEY|ShiftMask, XK_slash, swapwindow, {0} }, | |
30 > ``` | |
31 | |
32 Download | |
33 -------- | |
34 * [dwm-swapwindows-20250509-00ea4c4.diff](dwm-swapwindows-20250509-00ea4… | |
35 | |
36 Author | |
37 ------ | |
38 * Jameel Sawafta - <[email protected]> |