diff options
Diffstat (limited to 'niri')
| -rw-r--r-- | niri/cfg/keybinds.kdl | 4 | ||||
| -rw-r--r-- | niri/cfg/misc.kdl | 7 |
2 files changed, 9 insertions, 2 deletions
diff --git a/niri/cfg/keybinds.kdl b/niri/cfg/keybinds.kdl index 112729a..280057f 100644 --- a/niri/cfg/keybinds.kdl +++ b/niri/cfg/keybinds.kdl @@ -1,10 +1,10 @@ binds { Mod+Shift+Slash { show-hotkey-overlay; } - Mod+Return hotkey-overlay-title="Open a Terminal: kitty" { spawn "kitty"; } + Mod+Return hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; } // ALT+Space hotkey-overlay-title="Run an Application: fuzzel" { spawn "fuzzel"; } Mod+E hotkey-overlay-title="File manager: nautilus" { spawn "nautilus"; } - Mod+B hotkey-overlay-title="Browser: zen" { spawn "zen-browser"; } + Mod+B hotkey-overlay-title="Browser: zen browser" { spawn "zen-browser"; } // ----------- DMS shell keybinds ------------ // ALT+Space hotkey-overlay-title="Run an Application: DMS launcher" { spawn-sh "dms ipc call launcher toggle"; } diff --git a/niri/cfg/misc.kdl b/niri/cfg/misc.kdl index e48ee8b..c96b17a 100644 --- a/niri/cfg/misc.kdl +++ b/niri/cfg/misc.kdl @@ -22,3 +22,10 @@ cursor { hide-when-typing hide-after-inactive-ms 1000 } + +// Lock the screen when laptop lid is closed +switch-events { + lid-close { + spawn "qs" "-c" "noctalia-shell" "ipc" "call" "lockScreen" "lock" + } +} |
