about summary refs log tree commit diff
path: root/home/profiles/gui
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-09-02 20:05:25 +0900
committersefidel <contact@sefidel.net>2023-09-02 20:05:25 +0900
commit47b00a8a9a0d27c0a8002ed8c2fa63b2db668f6e (patch)
tree308254e2eb76075b6e57169cb9b3f9b675ad936c /home/profiles/gui
parent9df75007b3a87d972a2a69367b457b72864c880b (diff)
downloadnixrc-47b00a8a9a0d27c0a8002ed8c2fa63b2db668f6e.tar.gz
nixrc-47b00a8a9a0d27c0a8002ed8c2fa63b2db668f6e.zip
feat(home/gui): better solution for suspend grace
* Supersedes 5ab71ef3ec55ddcdb0ecb07fd0e67451a034a7e3
Diffstat (limited to 'home/profiles/gui')
-rw-r--r--home/profiles/gui/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix
index a849dd7..f6feafc 100644
--- a/home/profiles/gui/default.nix
+++ b/home/profiles/gui/default.nix
@@ -142,7 +142,6 @@ in
             --show-failed-attempts \
             --effect-blur 7x5 \
             --effect-vignette 0.5:0.5 \
-            --grace 1 \
             --fade-in 0.2'';
         in
         {
@@ -155,7 +154,7 @@ in
             # 4m30s
             { timeout = 270; command = "${pkgs.libnotify}/bin/notify-send -t 30000 'Locking screen in 30 seconds'"; }
             # 5m
-            { timeout = 300; command = lockCommand; }
+            { timeout = 300; command = "${lockCommand} --grace 5"; }
             # 10m
             {
               timeout = 600;