now locking and suspending when the lid is closed

This commit is contained in:
aminnairi
2025-11-09 21:57:06 +01:00
parent 84629eeaee
commit d57b546484
+6
View File
@@ -261,6 +261,12 @@ layout {
}
}
switch-events {
lid-close {
spawn "qs" "-c" "noctalia-shell" "ipc" "call" "sessionMenu" "lockAndSuspend"
}
}
// Add lines like this to spawn processes at startup.
// Note that running niri as a session supports xdg-desktop-autostart,
// which may be more convenient to use.