forge
Explore
Log in

Don't you dare go Hollow

Add directional move-workspace-to-monitor binds

Browse files at this commit

43a16a986d03278af36b327c2a99e986b2bb26f3Ahmet Kaan GümüşParent: 513ff34
WASD and arrows with Mod+Ctrl+Shift send the focused workspace to an
adjacent monitor, independent of connector names.
.config/niri/config.kdlmodified+8 -0
@@ -226,6 +226,14 @@ binds {
226 Mod+Shift+E { move-column-to-monitor "HDMI-A-1"; }226 Mod+Shift+E { move-column-to-monitor "HDMI-A-1"; }
227 Mod+Ctrl+Shift+Q hotkey-overlay-title="Move workspace: DP-1" { move-workspace-to-monitor "DP-1"; }227 Mod+Ctrl+Shift+Q hotkey-overlay-title="Move workspace: DP-1" { move-workspace-to-monitor "DP-1"; }
228 Mod+Ctrl+Shift+E hotkey-overlay-title="Move workspace: HDMI-A-1" { move-workspace-to-monitor "HDMI-A-1"; }228 Mod+Ctrl+Shift+E hotkey-overlay-title="Move workspace: HDMI-A-1" { move-workspace-to-monitor "HDMI-A-1"; }
229+ Mod+Ctrl+Shift+A hotkey-overlay-title="Move workspace left" { move-workspace-to-monitor-left; }
230+ Mod+Ctrl+Shift+D hotkey-overlay-title="Move workspace right" { move-workspace-to-monitor-right; }
231+ Mod+Ctrl+Shift+W hotkey-overlay-title="Move workspace up" { move-workspace-to-monitor-up; }
232+ Mod+Ctrl+Shift+S hotkey-overlay-title="Move workspace down" { move-workspace-to-monitor-down; }
233+ Mod+Ctrl+Shift+Left { move-workspace-to-monitor-left; }
234+ Mod+Ctrl+Shift+Right { move-workspace-to-monitor-right; }
235+ Mod+Ctrl+Shift+Up { move-workspace-to-monitor-up; }
236+ Mod+Ctrl+Shift+Down { move-workspace-to-monitor-down; }
229 237
230 238
231 // Left-hand WASD navigation (right hand stays on mouse)239 // Left-hand WASD navigation (right hand stays on mouse)