about summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-02-05 13:49:35 +0900
committersefidel <contact@sefidel.net>2022-02-05 13:49:35 +0900
commit14de1de97cf50c2b75fa64f42f844b1c0a6d7b27 (patch)
tree2d601a5c61dc351719d0c18608944cbc2d5da814 /home
parent9cff9ce8a4626bb83422e90b55e93c80586ac817 (diff)
downloadnixrc-14de1de97cf50c2b75fa64f42f844b1c0a6d7b27.tar.gz
nixrc-14de1de97cf50c2b75fa64f42f844b1c0a6d7b27.zip
feat(home/base): tweak swaylock
Diffstat (limited to 'home')
-rw-r--r--home/profiles/base/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix
index 0761fb8..7e67dc6 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -238,12 +238,12 @@ in
       swayidle = {
         enable = true;
         events = [
-          { event = "before-sleep"; command = "${pkgs.swaylock-effects}/bin/swaylock -fFc ${neotheme.colors.background} --indicator"; }
-          { event = "lock"; command = "${pkgs.swaylock-effects}/bin/swaylock -fFc ${neotheme.colors.background} --indicator"; }
+          { event = "before-sleep"; command = "${pkgs.swaylock-effects}/bin/swaylock -fFc ${neotheme.colors.background} --indicator --grace 2 --fade-in 0.2"; }
+          { event = "lock"; command = "${pkgs.swaylock-effects}/bin/swaylock -fFc ${neotheme.colors.background} --indicator --grace 2 --fade-in 0.2"; }
         ];
         timeouts = [
           { timeout = 230; command = "${pkgs.libnotify}/bin/notify-send -t 30000 'Locking screen in 30 seconds'"; }
-          { timeout = 300; command = "${pkgs.swaylock-effects}/bin/swaylock -fFc ${neotheme.colors.background} --indicator"; }
+          { timeout = 300; command = "${pkgs.swaylock-effects}/bin/swaylock -fFc ${neotheme.colors.background} --indicator --grace 2 --fade-in 0.2"; }
           {
             timeout = 600;
             command = "${pkgs.sway}/bin/swaymsg 'output * dpms off'";