diff options
author | sefidel <contact@sefidel.net> | 2023-08-26 11:23:16 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-08-26 11:23:16 +0900 |
commit | 372d9afc251494b5205cd0e92c54906d3f915058 (patch) | |
tree | 26baa97f1f5d77ddefc839d85ed0025b6826a7a3 /home | |
parent | ea9b14c243031008e3a728c4e18c251db97a14ca (diff) | |
download | nixrc-372d9afc251494b5205cd0e92c54906d3f915058.tar.gz nixrc-372d9afc251494b5205cd0e92c54906d3f915058.zip |
Revert "fix(home/gui): swaylock-effects -> swaylock"
This reverts commit 6ac33ae4e637cc2e514fc11d199faa4eac7637ae.
Diffstat (limited to 'home')
-rw-r--r-- | home/profiles/gui/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix index 1d611b0..139307a 100644 --- a/home/profiles/gui/default.nix +++ b/home/profiles/gui/default.nix @@ -53,7 +53,7 @@ in home.packages = [ # Sway pkgs.autotiling - pkgs.swaylock + pkgs.swaylock-effects pkgs.swaybg pkgs.wayland-utils pkgs.wl-clipboard @@ -124,14 +124,14 @@ 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 = [ # 4m30s { timeout = 270; command = "${pkgs.libnotify}/bin/notify-send -t 30000 'Locking screen in 30 seconds'"; } # 5m - { 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"; } # 10m { timeout = 600; |