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:
1 parent
5ef2025673
commit
6b845b68fc
2 files changed
+21
No files matched your search
@@ -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 |
|
||||
| :--- | :--- | :--- |
|
||||
|
||||
@@ -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'";
|
||||
|
||||
Reference in new issue
Block a user