quickshell: suspend in session menu, lock-before-sleep on Gaming
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
c9b69bf86f
commit
5195c60fb5
2 changed files with 7 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ in
|
|||
# paints. A unit ordered Before=sleep.target genuinely blocks the
|
||||
# suspend until it exits. The sleep covers the gap between quickshell
|
||||
# accepting the IPC and the lock surface committing a frame.
|
||||
systemd.services.lock-before-sleep = lib.mkIf isMacbook {
|
||||
systemd.services.lock-before-sleep = {
|
||||
description = "Lock the session before suspend";
|
||||
before = [ "sleep.target" ];
|
||||
wantedBy = [ "sleep.target" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue