From 6b845b68fcea8b5ff123b2c2a5b6d1adb4151c24 Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Wed, 14 Oct 2026 20:33:02 -0500 Subject: [PATCH] feat(niri): add monitor navigation and relocate workspace movement bindings - Add Mod+` and Mod+Shift+` for next monitor focus and column transfer - Add Mod+Ctrl+Down/Up for directional monitor switching - Relocate workspace movement bindings to Mod+Ctrl+Page_Down/Page_Up - Update docs/desktop.md with Monitor & Workspace Navigation reference table --- docs/desktop.md | 11 +++++++++++ home/config/niri/custom.kdl | 10 ++++++++++ 2 files changed, 21 insertions(+) diff --git a/docs/desktop.md b/docs/desktop.md index 24a5f9f..bbcc4e4 100644 --- a/docs/desktop.md +++ b/docs/desktop.md @@ -103,6 +103,17 @@ This ensures `~/.config/niri/dms/binds.kdl` is created with proper user write pe | `Mod+Alt+Right / Left` | Expand / Shrink Column Width (+/- 100px) | Custom (`custom.kdl`) | | `Mod+Alt+Down / Up` | Expand / Shrink Window Height (+/- 100px) | Custom (`custom.kdl`) | +### Monitor & Workspace Navigation +| Shortcut | Action | Source | Precedence Note | +| :--- | :--- | :--- | :--- | +| `Mod+\`` | Focus Next Monitor | Custom (`custom.kdl`) | Orientation-agnostic toggle between displays. | +| `Mod+Shift+\`` | Move Focused Column to Next Monitor | Custom (`custom.kdl`) | Orientation-agnostic window transfer across displays. | +| `Mod+Ctrl+Left / Right` | Focus Monitor Left / Right | DMS IPC (`binds.kdl`) | Directional monitor switching. | +| `Mod+Ctrl+Down / Up` | Focus Monitor Down / Up | Custom (`custom.kdl`) | Overrides DMS workspace move to allow vertical monitor switching. | +| `Mod+Shift+Ctrl+Arrow / HJKL` | Move Column to Monitor (Directional) | DMS IPC (`binds.kdl`) | Directional window transfer across displays. | +| `Mod+Ctrl+Page_Down / Page_Up` | Move Column to Workspace Down / Up | Custom (`custom.kdl`) | Relocated from `Mod+Ctrl+Down/Up` for arrow/page users. | +| `Mod+Ctrl+U / Mod+Ctrl+I` | Move Column to Workspace Down / Up | DMS IPC (`binds.kdl`) | Directional workspace column transfer. | + ### Screenshots, Screen Recording & Utilities | Shortcut | Action | Source | | :--- | :--- | :--- | diff --git a/home/config/niri/custom.kdl b/home/config/niri/custom.kdl index 5be8462..dc4fc92 100644 --- a/home/config/niri/custom.kdl +++ b/home/config/niri/custom.kdl @@ -44,6 +44,16 @@ binds { Mod+Alt+M hotkey-overlay-title="Cast: Target Focused Monitor" { set-dynamic-cast-monitor; } Mod+Alt+C hotkey-overlay-title="Cast: Clear Target" { clear-dynamic-cast-target; } + // === Monitor Navigation (Orientation-Agnostic & Directional) === + Mod+grave hotkey-overlay-title="Focus Next Monitor" { focus-monitor-next; } + Mod+Shift+grave hotkey-overlay-title="Move Column to Next Monitor" { move-column-to-monitor-next; } + Mod+Ctrl+Down hotkey-overlay-title="Focus Monitor Down" { focus-monitor-down; } + Mod+Ctrl+Up hotkey-overlay-title="Focus Monitor Up" { focus-monitor-up; } + + // === Workspace Movement Relocation === + Mod+Ctrl+Page_Down hotkey-overlay-title="Move Column to Workspace Down" { move-column-to-workspace-down; } + Mod+Ctrl+Page_Up hotkey-overlay-title="Move Column to Workspace Up" { move-column-to-workspace-up; } + // === Config Management === Mod+Ctrl+Shift+R hotkey-overlay-title="Reload Niri Config" { spawn "bash" "-c" "niri msg action load-config-file && notify-send -a 'Niri' 'Configuration' 'Niri config reloaded successfully'";