Update .config/niri/binds.kdl Update .config/niri/config.kdl Update .config/niri/startup.kdl Update .config/nvim/lua/plugins/dankcolors.lua
103 lines
4.3 KiB
Text
103 lines
4.3 KiB
Text
binds {
|
|
Mod+Space repeat=false { toggle-overview; }
|
|
Mod+W repeat=false { close-window; }
|
|
|
|
Mod+Return { spawn "ghostty"; }
|
|
Mod+B { spawn "chromium"; }
|
|
|
|
Mod+C { spawn "dms" "ipc" "call" "clipboard" "toggle"; }
|
|
Mod+P { spawn "dms" "ipc" "call" "processlist" "focusOrToggle"; }
|
|
Mod+N { spawn "dms" "ipc" "call" "notifications" "toggle"; }
|
|
Mod+S { spawn "dms" "ipc" "call" "notepad" "toggle"; }
|
|
Mod+O { spawn "dms" "ipc" "call" "spotlight" "toggle"; }
|
|
|
|
Mod+T { toggle-column-tabbed-display; }
|
|
Mod+V { toggle-window-floating; }
|
|
Mod+Shift+S { spawn "ss"; }
|
|
Mod+Semicolon { center-column; }
|
|
Mod+Apostrophe { switch-preset-column-width; }
|
|
Mod+Z { maximize-column; }
|
|
F11 { fullscreen-window; }
|
|
|
|
|
|
// Media controls.
|
|
XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+"; }
|
|
XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-"; }
|
|
XF86AudioMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; }
|
|
XF86AudioMicMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; }
|
|
XF86AudioPlay allow-when-locked=true { spawn-sh "playerctl play-pause"; }
|
|
XF86AudioStop allow-when-locked=true { spawn-sh "playerctl stop"; }
|
|
XF86AudioPrev allow-when-locked=true { spawn-sh "playerctl previous"; }
|
|
XF86AudioNext allow-when-locked=true { spawn-sh "playerctl next"; }
|
|
XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "+10%"; }
|
|
XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "10%-"; }
|
|
|
|
// Changing focus.
|
|
Mod+Left { focus-column-left; }
|
|
Mod+Down { focus-window-or-workspace-down; }
|
|
Mod+Up { focus-window-or-workspace-up; }
|
|
Mod+Right { focus-column-right; }
|
|
|
|
// Mod+Tab
|
|
Mod+Tab { spawn-sh "niri-cycle"; }
|
|
Mod+Shift+Tab { spawn-sh "niri-cycle --back"; }
|
|
|
|
// Moving windows.
|
|
Mod+Shift+Left { move-column-left; }
|
|
Mod+Shift+Down { move-window-down-or-to-workspace-down; }
|
|
Mod+Shift+Up { move-window-up-or-to-workspace-up; }
|
|
Mod+Shift+Right { move-column-right; }
|
|
|
|
// Focus columns.
|
|
Mod+Home { focus-column-first; }
|
|
Mod+End { focus-column-last; }
|
|
|
|
// Moving columns.
|
|
Mod+Shift+Home { move-column-to-first; }
|
|
Mod+Shift+End { move-column-to-last; }
|
|
|
|
// Changing monitor focus.
|
|
Mod+Alt+Left { focus-monitor-left; }
|
|
Mod+Alt+Down { move-workspace-down; }
|
|
Mod+Alt+Up { move-workspace-up; }
|
|
Mod+Alt+Right { focus-monitor-right; }
|
|
|
|
// Moving window to monitor.
|
|
Mod+Alt+Shift+Left { move-column-to-monitor-left; }
|
|
Mod+Alt+Shift+Down { move-column-to-monitor-down; }
|
|
Mod+Alt+Shift+Up { move-column-to-monitor-up; }
|
|
Mod+Alt+Shift+Right { move-column-to-monitor-right; }
|
|
|
|
// Moving workspace to monitor.
|
|
Mod+Alt+Comma { move-workspace-to-monitor-left; }
|
|
Mod+Alt+Period { move-workspace-to-monitor-right; }
|
|
|
|
Mod+1 { focus-workspace 1; }
|
|
Mod+2 { focus-workspace 2; }
|
|
Mod+3 { focus-workspace 3; }
|
|
Mod+4 { focus-workspace 4; }
|
|
Mod+5 { focus-workspace 5; }
|
|
|
|
Mod+Shift+1 { move-column-to-workspace 1; }
|
|
Mod+Shift+2 { move-column-to-workspace 2; }
|
|
Mod+Shift+3 { move-column-to-workspace 3; }
|
|
Mod+Shift+4 { move-column-to-workspace 4; }
|
|
Mod+Shift+5 { move-column-to-workspace 5; }
|
|
|
|
Mod+Comma { consume-or-expel-window-left; }
|
|
Mod+Period { consume-or-expel-window-right; }
|
|
|
|
Mod+Ctrl+Left { set-column-width "-10%"; }
|
|
Mod+Ctrl+Right { set-column-width "+10%"; }
|
|
Mod+Ctrl+Down { set-window-height "-10%"; }
|
|
Mod+Ctrl+Up { set-window-height "+10%"; }
|
|
|
|
|
|
Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
|
|
Ctrl+Alt+Delete { quit; }
|
|
Mod+Shift+P { power-off-monitors; }
|
|
|
|
// Notifications.
|
|
Mod+Ctrl+Comma { spawn-sh "makoctl dismiss"; }
|
|
Mod+Ctrl+Period { spawn-sh "makoctl dismiss -a"; }
|
|
}
|