238 lines
6.4 KiB
Text
238 lines
6.4 KiB
Text
binds {
|
|
//#"System"
|
|
Mod+F1 hotkey-overlay-title="Show keybindings" {
|
|
spawn-sh "qs -c noctalia-shell ipc call plugin:keybind-cheatsheet toggle"
|
|
}
|
|
// #"Applications"
|
|
Mod+Return hotkey-overlay-title="Open Terminal" {
|
|
spawn "kitty"
|
|
}
|
|
Mod+Shift+Return hotkey-overlay-title="Open Quick Terminal" {
|
|
spawn "kitten" "quick_access_terminal"
|
|
}
|
|
Mod+D hotkey-overlay-title="Launcher" {
|
|
spawn "qs" "ipc" "-c" "noctalia-shell" "call" "launcher" "toggle"
|
|
}
|
|
// #"Layout"
|
|
Mod+R {
|
|
switch-preset-column-width
|
|
}
|
|
Mod+Shift+R {
|
|
expand-column-to-available-width
|
|
}
|
|
Mod+F {
|
|
maximize-column
|
|
}
|
|
Mod+Shift+F {
|
|
fullscreen-window
|
|
}
|
|
Mod+C {
|
|
center-column
|
|
}
|
|
Mod+Shift+Space {
|
|
toggle-window-floating
|
|
}
|
|
Mod+Alt+Left hotkey-overlay-title="Move in/out of column" {
|
|
consume-or-expel-window-left
|
|
}
|
|
Mod+Alt+Right hotkey-overlay-title="Move in/out of column" {
|
|
consume-or-expel-window-right
|
|
}
|
|
Mod+Alt+H hotkey-overlay-title=null {
|
|
consume-or-expel-window-left
|
|
}
|
|
Mod+Alt+L hotkey-overlay-title=null {
|
|
consume-or-expel-window-right
|
|
}
|
|
// #"Window Management"
|
|
Mod+W repeat=false {
|
|
toggle-overview
|
|
}
|
|
Mod+Shift+Q repeat=false {
|
|
close-window
|
|
}
|
|
// #"Focus"
|
|
Mod+Tab hotkey-overlay-title=null {
|
|
focus-column-right-or-first
|
|
}
|
|
Mod+shift+Tab hotkey-overlay-title=null {
|
|
focus-column-left-or-last
|
|
}
|
|
Mod+Left hotkey-overlay-title=null {
|
|
focus-column-left
|
|
}
|
|
Mod+Down hotkey-overlay-title=null {
|
|
focus-window-or-workspace-down
|
|
}
|
|
Mod+Up hotkey-overlay-title=null {
|
|
focus-window-or-workspace-up
|
|
}
|
|
Mod+Right hotkey-overlay-title=null {
|
|
focus-column-or-monitor-right
|
|
}
|
|
Mod+H hotkey-overlay-title=null {
|
|
focus-column-or-monitor-left
|
|
}
|
|
Mod+J hotkey-overlay-title=null {
|
|
focus-window-or-workspace-down
|
|
}
|
|
Mod+K hotkey-overlay-title=null {
|
|
focus-window-or-workspace-up
|
|
}
|
|
Mod+L hotkey-overlay-title=null {
|
|
focus-column-or-monitor-right
|
|
}
|
|
Mod+WheelScrollDown hotkey-overlay-title="Focus right" {
|
|
focus-column-right
|
|
}
|
|
Mod+WheelScrollUp hotkey-overlay-title="Focus left" {
|
|
focus-column-left
|
|
}
|
|
// #"Focus"
|
|
Mod+WheelScrollLeft hotkey-overlay-title="Focus workspace down" {
|
|
focus-workspace-down
|
|
}
|
|
// #"Focus"
|
|
Mod+WheelScrollRight hotkey-overlay-title="Focus workspace up" {
|
|
focus-workspace-up
|
|
}
|
|
Mod+Space hotkey-overlay-title="Toggle focus floating" {
|
|
switch-focus-between-floating-and-tiling
|
|
}
|
|
// #"Move Windows"
|
|
Mod+Shift+Left hotkey-overlay-title=null {
|
|
move-column-left-or-to-monitor-left
|
|
}
|
|
Mod+Shift+Down hotkey-overlay-title=null {
|
|
move-window-down-or-to-workspace-down
|
|
}
|
|
Mod+Shift+Up hotkey-overlay-title=null {
|
|
move-window-up-or-to-workspace-up
|
|
}
|
|
Mod+Shift+Right hotkey-overlay-title=null {
|
|
move-column-right-or-to-monitor-right
|
|
}
|
|
Mod+Shift+H hotkey-overlay-title=null {
|
|
move-column-left-or-to-monitor-left
|
|
}
|
|
Mod+Shift+J hotkey-overlay-title=null {
|
|
move-window-down-or-to-workspace-down
|
|
}
|
|
Mod+Shift+K hotkey-overlay-title=null {
|
|
move-window-up-or-to-workspace-up
|
|
}
|
|
Mod+Shift+L hotkey-overlay-title=null {
|
|
move-column-right-or-to-monitor-right
|
|
}
|
|
// #"Workspace Navigation"
|
|
Mod+Bar hotkey-overlay-title=null {
|
|
// Switches focus between the current and the previous workspace.
|
|
focus-workspace-previous
|
|
}
|
|
Mod+1 hotkey-overlay-title=null {
|
|
focus-workspace 1
|
|
}
|
|
Mod+2 hotkey-overlay-title=null {
|
|
focus-workspace 2
|
|
}
|
|
Mod+3 hotkey-overlay-title=null {
|
|
focus-workspace 3
|
|
}
|
|
Mod+4 hotkey-overlay-title=null {
|
|
focus-workspace 4
|
|
}
|
|
Mod+5 hotkey-overlay-title=null {
|
|
focus-workspace 5
|
|
}
|
|
Mod+6 hotkey-overlay-title=null {
|
|
focus-workspace 6
|
|
}
|
|
Mod+7 hotkey-overlay-title=null {
|
|
focus-workspace 7
|
|
}
|
|
Mod+8 hotkey-overlay-title=null {
|
|
focus-workspace 8
|
|
}
|
|
Mod+9 hotkey-overlay-title=null {
|
|
focus-workspace 9
|
|
}
|
|
Mod+Shift+1 hotkey-overlay-title=null {
|
|
move-window-to-workspace 1
|
|
}
|
|
Mod+Shift+2 hotkey-overlay-title=null {
|
|
move-window-to-workspace 2
|
|
}
|
|
Mod+Shift+3 hotkey-overlay-title=null {
|
|
move-window-to-workspace 3
|
|
}
|
|
Mod+Shift+4 hotkey-overlay-title=null {
|
|
move-window-to-workspace 4
|
|
}
|
|
Mod+Shift+5 hotkey-overlay-title=null {
|
|
move-window-to-workspace 5
|
|
}
|
|
Mod+Shift+6 hotkey-overlay-title=null {
|
|
move-window-to-workspace 6
|
|
}
|
|
Mod+Shift+7 hotkey-overlay-title=null {
|
|
move-window-to-workspace 7
|
|
}
|
|
Mod+Shift+8 hotkey-overlay-title=null {
|
|
move-window-to-workspace 8
|
|
}
|
|
Mod+Shift+9 hotkey-overlay-title=null {
|
|
move-window-to-workspace 9
|
|
}
|
|
Mod+Shift+WheelScrollDown cooldown-ms=150 {
|
|
focus-workspace-down
|
|
}
|
|
Mod+Shift+WheelScrollUp cooldown-ms=150 {
|
|
focus-workspace-up
|
|
}
|
|
// #"System"
|
|
XF86AudioRaiseVolume allow-when-locked=true {
|
|
spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.025+"
|
|
}
|
|
XF86AudioLowerVolume allow-when-locked=true {
|
|
spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.025-"
|
|
}
|
|
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"
|
|
}
|
|
XF86MonBrightnessUp allow-when-locked=true {
|
|
spawn "brightnessctl" "--class=backlight" "set" "+10%"
|
|
}
|
|
XF86MonBrightnessDown allow-when-locked=true {
|
|
spawn "brightnessctl" "--class=backlight" "set" "10%-"
|
|
}
|
|
// #"Screenshots"
|
|
Print hotkey-overlay-title="Screenshot" {
|
|
screenshot show-pointer=false
|
|
}
|
|
Shift+Print hotkey-overlay-title="Screenshot & Edit" {
|
|
spawn-sh "niri msg action screenshot && wl-paste -t image/png | swappy -f -"
|
|
}
|
|
Ctrl+Print hotkey-overlay-title="Edit image in clipboard" {
|
|
spawn-sh "wl-paste -t image/png | swappy -f -"
|
|
}
|
|
// #"System"
|
|
Mod+Escape allow-inhibiting=false hotkey-overlay-title="Toggle shortcuts inhibition" {
|
|
// Applications such as remote-desktop clients and software KVM switches may
|
|
// request that niri stops processing the keyboard shortcuts defined here
|
|
// so they may, for example, forward the key presses as-is to a remote machine.
|
|
// It's a good idea to bind an escape hatch to toggle the inhibitor,
|
|
// so a buggy application can't hold your session hostage.
|
|
//
|
|
// The allow-inhibiting=false property can be applied to other binds as well,
|
|
// which ensures niri always processes them, even when an inhibitor is active.
|
|
toggle-keyboard-shortcuts-inhibit
|
|
}
|
|
// #"System"
|
|
Ctrl+Alt+Delete {
|
|
quit
|
|
}
|
|
}
|
|
|