quickshell: suspend in session menu, lock-before-sleep on Gaming

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-09-05 11:56:46 +01:00
parent c9b69bf86f
commit 5195c60fb5
2 changed files with 7 additions and 2 deletions

View file

@ -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" ];