diff --git a/niri.kdl b/niri.kdl index 9cf9a6f..1175667 100644 --- a/niri.kdl +++ b/niri.kdl @@ -80,146 +80,145 @@ window-rule { } binds { - Alt+Shift+Slash { show-hotkey-overlay; } + Super+Shift+Slash { show-hotkey-overlay; } - Alt+T hotkey-overlay-title="Open a Terminal: wezterm" { spawn "wezterm"; } - Alt+P hotkey-overlay-title="Open a Terminal: wezterm" { spawn "wezterm" "start" "--config" "font_size=10"; } - Alt+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } - Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } + Super+T hotkey-overlay-title="Open a Terminal: wezterm" { spawn "wezterm"; } + Super+D hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } + // Super+Alt+L hotkey-overlay-title="Lock the Screen: swaylock" { spawn "swaylock"; } XF86AudioRaiseVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1+"; } XF86AudioLowerVolume allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.1-"; } XF86AudioMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"; } XF86AudioMicMute allow-when-locked=true { spawn "wpctl" "set-mute" "@DEFAULT_AUDIO_SOURCE@" "toggle"; } - Alt+O repeat=false { toggle-overview; } + Super+O repeat=false { toggle-overview; } - Alt+Q { close-window; } + Super+Q { close-window; } - Alt+Left { focus-column-left; } - Alt+Down { focus-window-down; } - Alt+Up { focus-window-up; } - Alt+Right { focus-column-right; } - Alt+H { focus-column-left; } - Alt+J { focus-window-down; } - Alt+K { focus-window-up; } - Alt+L { focus-column-right; } + Super+Left { focus-column-left; } + Super+Down { focus-window-down; } + Super+Up { focus-window-up; } + Super+Right { focus-column-right; } + Super+H { focus-column-left; } + Super+J { focus-window-down; } + Super+K { focus-window-up; } + Super+L { focus-column-right; } - Alt+Ctrl+Left { move-column-left; } - Alt+Ctrl+Down { move-window-down; } - Alt+Ctrl+Up { move-window-up; } - Alt+Ctrl+Right { move-column-right; } - Alt+Ctrl+H { move-column-left; } - Alt+Ctrl+J { move-window-down; } - Alt+Ctrl+K { move-window-up; } - Alt+Ctrl+L { move-column-right; } + Super+Shift+Left { move-column-left; } + Super+Shift+Down { move-window-down; } + Super+Shift+Up { move-window-up; } + Super+Shift+Right { move-column-right; } + Super+Shift+H { move-column-left; } + Super+Shift+J { move-window-down; } + Super+Shift+K { move-window-up; } + Super+Shift+L { move-column-right; } - Alt+Home { focus-column-first; } - Alt+End { focus-column-last; } - Alt+Ctrl+Home { move-column-to-first; } - Alt+Ctrl+End { move-column-to-last; } + Super+Home { focus-column-first; } + Super+End { focus-column-last; } + Super+Ctrl+Home { move-column-to-first; } + Super+Ctrl+End { move-column-to-last; } - Alt+Shift+Left { focus-monitor-left; } - Alt+Shift+Down { focus-monitor-down; } - Alt+Shift+Up { focus-monitor-up; } - Alt+Shift+Right { focus-monitor-right; } - Alt+Shift+H { focus-monitor-left; } - Alt+Shift+J { focus-monitor-down; } - Alt+Shift+K { focus-monitor-up; } - Alt+Shift+L { focus-monitor-right; } + // Super+Shift+Left { focus-monitor-left; } + // Super+Shift+Down { focus-monitor-down; } + // Super+Shift+Up { focus-monitor-up; } + // Super+Shift+Right { focus-monitor-right; } + // Super+Shift+H { focus-monitor-left; } + // Super+Shift+J { focus-monitor-down; } + // Super+Shift+K { focus-monitor-up; } + // Super+Shift+L { focus-monitor-right; } - Alt+Shift+Ctrl+Left { move-column-to-monitor-left; } - Alt+Shift+Ctrl+Down { move-column-to-monitor-down; } - Alt+Shift+Ctrl+Up { move-column-to-monitor-up; } - Alt+Shift+Ctrl+Right { move-column-to-monitor-right; } - Alt+Shift+Ctrl+H { move-column-to-monitor-left; } - Alt+Shift+Ctrl+J { move-column-to-monitor-down; } - Alt+Shift+Ctrl+K { move-column-to-monitor-up; } - Alt+Shift+Ctrl+L { move-column-to-monitor-right; } + // Alt+Shift+Ctrl+Left { move-column-to-monitor-left; } + // Alt+Shift+Ctrl+Down { move-column-to-monitor-down; } + // Alt+Shift+Ctrl+Up { move-column-to-monitor-up; } + // Alt+Shift+Ctrl+Right { move-column-to-monitor-right; } + // Alt+Shift+Ctrl+H { move-column-to-monitor-left; } + // Alt+Shift+Ctrl+J { move-column-to-monitor-down; } + // Alt+Shift+Ctrl+K { move-column-to-monitor-up; } + // Alt+Shift+Ctrl+L { move-column-to-monitor-right; } - Alt+Page_Down { focus-workspace-down; } - Alt+Page_Up { focus-workspace-up; } - Alt+U { focus-workspace-down; } - Alt+I { focus-workspace-up; } - Alt+Ctrl+Page_Down { move-column-to-workspace-down; } - Alt+Ctrl+Page_Up { move-column-to-workspace-up; } - Alt+Ctrl+U { move-column-to-workspace-down; } - Alt+Ctrl+I { move-column-to-workspace-up; } + Super+Page_Down { focus-workspace-down; } + Super+Page_Up { focus-workspace-up; } + Super+U { focus-workspace-down; } + Super+I { focus-workspace-up; } + Super+Ctrl+Page_Down { move-column-to-workspace-down; } + Super+Ctrl+Page_Up { move-column-to-workspace-up; } + Super+Ctrl+U { move-column-to-workspace-down; } + Super+Ctrl+I { move-column-to-workspace-up; } - Alt+Shift+Page_Down { move-workspace-down; } - Alt+Shift+Page_Up { move-workspace-up; } - Alt+Shift+U { move-workspace-down; } - Alt+Shift+I { move-workspace-up; } + Super+Shift+Page_Down { move-workspace-down; } + Super+Shift+Page_Up { move-workspace-up; } + Super+Shift+U { move-workspace-down; } + Super+Shift+I { move-workspace-up; } - Alt+WheelScrollDown cooldown-ms=150 { focus-workspace-down; } - Alt+WheelScrollUp cooldown-ms=150 { focus-workspace-up; } - Alt+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; } - Alt+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; } + Super+WheelScrollDown cooldown-ms=150 { focus-workspace-down; } + Super+WheelScrollUp cooldown-ms=150 { focus-workspace-up; } + Super+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; } + Super+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; } - Alt+WheelScrollRight { focus-column-right; } - Alt+WheelScrollLeft { focus-column-left; } - Alt+Ctrl+WheelScrollRight { move-column-right; } - Alt+Ctrl+WheelScrollLeft { move-column-left; } + Super+WheelScrollRight { focus-column-right; } + Super+WheelScrollLeft { focus-column-left; } + Super+Ctrl+WheelScrollRight { move-column-right; } + Super+Ctrl+WheelScrollLeft { move-column-left; } - Alt+Shift+WheelScrollDown { focus-column-right; } - Alt+Shift+WheelScrollUp { focus-column-left; } - Alt+Ctrl+Shift+WheelScrollDown { move-column-right; } - Alt+Ctrl+Shift+WheelScrollUp { move-column-left; } + Super+Shift+WheelScrollDown { focus-column-right; } + Super+Shift+WheelScrollUp { focus-column-left; } + Super+Ctrl+Shift+WheelScrollDown { move-column-right; } + Super+Ctrl+Shift+WheelScrollUp { move-column-left; } - Alt+1 { focus-workspace 1; } - Alt+2 { focus-workspace 2; } - Alt+3 { focus-workspace 3; } - Alt+4 { focus-workspace 4; } - Alt+5 { focus-workspace 5; } - Alt+6 { focus-workspace 6; } - Alt+7 { focus-workspace 7; } - Alt+8 { focus-workspace 8; } - Alt+9 { focus-workspace 9; } - Alt+Ctrl+1 { move-column-to-workspace 1; } - Alt+Ctrl+2 { move-column-to-workspace 2; } - Alt+Ctrl+3 { move-column-to-workspace 3; } - Alt+Ctrl+4 { move-column-to-workspace 4; } - Alt+Ctrl+5 { move-column-to-workspace 5; } - Alt+Ctrl+6 { move-column-to-workspace 6; } - Alt+Ctrl+7 { move-column-to-workspace 7; } - Alt+Ctrl+8 { move-column-to-workspace 8; } - Alt+Ctrl+9 { move-column-to-workspace 9; } + Super+1 { focus-workspace 1; } + Super+2 { focus-workspace 2; } + Super+3 { focus-workspace 3; } + Super+4 { focus-workspace 4; } + Super+5 { focus-workspace 5; } + Super+6 { focus-workspace 6; } + Super+7 { focus-workspace 7; } + Super+8 { focus-workspace 8; } + Super+9 { focus-workspace 9; } + Super+Ctrl+1 { move-column-to-workspace 1; } + Super+Ctrl+2 { move-column-to-workspace 2; } + Super+Ctrl+3 { move-column-to-workspace 3; } + Super+Ctrl+4 { move-column-to-workspace 4; } + Super+Ctrl+5 { move-column-to-workspace 5; } + Super+Ctrl+6 { move-column-to-workspace 6; } + Super+Ctrl+7 { move-column-to-workspace 7; } + Super+Ctrl+8 { move-column-to-workspace 8; } + Super+Ctrl+9 { move-column-to-workspace 9; } - Alt+BracketLeft { consume-or-expel-window-left; } - Alt+BracketRight { consume-or-expel-window-right; } + Super+Ctrl+H { consume-or-expel-window-left; } + Super+Ctrl+L { consume-or-expel-window-right; } - Alt+Comma { consume-window-into-column; } - Alt+Period { expel-window-from-column; } + Super+Comma { consume-window-into-column; } + Super+Period { expel-window-from-column; } - Alt+R { switch-preset-column-width; } - Alt+Shift+R { switch-preset-window-height; } - Alt+Ctrl+R { reset-window-height; } - Alt+F { maximize-column; } - Alt+Shift+F { fullscreen-window; } - Alt+Ctrl+F { expand-column-to-available-width; } + Super+R { switch-preset-column-width; } + Super+Shift+R { switch-preset-window-height; } + Super+Ctrl+R { reset-window-height; } + Super+F { maximize-column; } + Super+Shift+F { fullscreen-window; } + Super+Ctrl+F { expand-column-to-available-width; } - Alt+C { center-column; } - Alt+Ctrl+C { center-visible-columns; } + Super+C { center-column; } + Super+Ctrl+C { center-visible-columns; } - Alt+Minus { set-column-width "-10%"; } - Alt+Equal { set-column-width "+10%"; } + Super+Minus { set-column-width "-10%"; } + Super+Equal { set-column-width "+10%"; } - Alt+Shift+Minus { set-window-height "-10%"; } - Alt+Shift+Equal { set-window-height "+10%"; } + Super+Shift+Minus { set-window-height "-10%"; } + Super+Shift+Equal { set-window-height "+10%"; } - Alt+V { toggle-window-floating; } - Alt+Shift+V { switch-focus-between-floating-and-tiling; } + Super+V { toggle-window-floating; } + Super+Shift+V { switch-focus-between-floating-and-tiling; } - Alt+W { toggle-column-tabbed-display; } + Super+W { toggle-column-tabbed-display; } Print { screenshot; } Ctrl+Print { screenshot-screen; } - Alt+Print { screenshot-window; } + Super+Print { screenshot-window; } - Alt+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; } + Super+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; } - Alt+Shift+E { quit; } + Super+Shift+E { quit; } Ctrl+Alt+Delete { quit; } - Alt+Shift+P { power-off-monitors; } + Super+Shift+P { power-off-monitors; } }