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
This commit is contained in:
kiskaadee committed 2026-10-14 20:33:02 -05:00
1 parent 5ef2025673
commit 6b845b68fc
2 files changed
+21

No files matched your search

+11
View File
@@ -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+Right / Left` | Expand / Shrink Column Width (+/- 100px) | Custom (`custom.kdl`) |
| `Mod+Alt+Down / Up` | Expand / Shrink Window Height (+/- 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 ### Screenshots, Screen Recording & Utilities
| Shortcut | Action | Source | | Shortcut | Action | Source |
| :--- | :--- | :--- | | :--- | :--- | :--- |
+10
View File
@@ -44,6 +44,16 @@ binds {
Mod+Alt+M hotkey-overlay-title="Cast: Target Focused Monitor" { set-dynamic-cast-monitor; } 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; } 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 === // === Config Management ===
Mod+Ctrl+Shift+R hotkey-overlay-title="Reload Niri Config" { 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'"; spawn "bash" "-c" "niri msg action load-config-file && notify-send -a 'Niri' 'Configuration' 'Niri config reloaded successfully'";