index.md (1016B)
1 Two Monitor Setup 2 ================= 3 4 Description 5 ----------- 6 I have a two monitor setup, and I always find default config confusing. 7 Using `ModKey + <` and `ModKey + ShiftKey + <` to move window or focus 8 to left monitor, and when it's on the leftmost monitor, it moves it to 9 the rightmost. It's probably good for multiple-monitor setup, but in my 10 setup it just switches back and forth, and if I accidentally press 11 `ModKey + <` two times, it switches focus to the same monitor on which 12 I was before, which was confusing to me. 13 14 With this patch `ModKey + <` and `ModKey + ShiftKey + <` only sends the 15 focus or window to left monitor, and if it's already on the left monitor, 16 it does nothing. Same with `ModKey + >` and `ModKey + ShiftKey + >`, if 17 the focus is on left monitor, it will swith the focus to right monitor, 18 otherwise, it will do nothing. 19 20 Download 21 -------- 22 * [dwm-twomonitorsetup-20240209-0b01a94.diff](dwm-twomonitorsetup-20240209-0b01a94.diff) 23 24 Authors 25 ------- 26 * Slavko Stojshic - <stojshic@gmail.com>