examples: niri: Replace quit action.

This commit is contained in:
Hilton Chain 2026-02-14 15:27:49 +08:00
parent 9386fb64b7
commit efefd3ba1a
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292

View File

@ -616,9 +616,8 @@ binds {
// which ensures niri always processes them, even when an inhibitor is active. // which ensures niri always processes them, even when an inhibitor is active.
Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; } Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
// The quit action will show a confirmation dialog to avoid accidental exits. Mod+Shift+E hotkey-overlay-title="Restart Noctalia shell" { spawn "herd" "restart" "noctalia-shell"; }
Mod+Shift+E { quit; } Ctrl+Alt+Delete hotkey-overlay-title="Open Noctalia shell session menu" { spawn "noctalia-shell" "ipc" "call" "sessionMenu" "toggle"; }
Ctrl+Alt+Delete { quit; }
// Powers off the monitors. To turn them back on, do any input like // Powers off the monitors. To turn them back on, do any input like
// moving the mouse or pressing any other key. // moving the mouse or pressing any other key.