about summary refs log tree commit diff
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-03-22 17:12:11 +0900
committersefidel <contact@sefidel.net>2023-03-22 17:12:11 +0900
commitcf0245764385011b8b6557a99c1dc4771411c190 (patch)
treed89b40a6b236803721fc27769553e48a80b9a344
parentaf984fdfb43333f7ed25d281ca5befbd5bd15e56 (diff)
downloadnixrc-cf0245764385011b8b6557a99c1dc4771411c190.tar.gz
nixrc-cf0245764385011b8b6557a99c1dc4771411c190.zip
Revert "feat(home/base): use plain swaylock"
This reverts commit f8480208c9fd3aa950f48118eae35fdb0457aade.
-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 1bf377c..6471aef 100644
--- a/home/profiles/base/default.nix
+++ b/home/profiles/base/default.nix
@@ -285,12 +285,12 @@ in
       swayidle = {
         enable = true;
         events = [
-          { event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock -fFc ${neotheme.colors.background} --indicator --grace 2"; }
-          { event = "lock"; command = "${pkgs.swaylock}/bin/swaylock -fFc ${neotheme.colors.background} --indicator --grace 2"; }
+          { 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 = 270; command = "${pkgs.libnotify}/bin/notify-send -t 30000 'Locking screen in 30 seconds'"; }
-          { timeout = 300; command = "${pkgs.swaylock}/bin/swaylock -fFc ${neotheme.colors.background} --indicator --grace 2"; }
+          { 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'";