diff options
author | sefidel <contact@sefidel.net> | 2023-03-12 15:09:31 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-03-12 15:09:31 +0900 |
commit | f8480208c9fd3aa950f48118eae35fdb0457aade (patch) | |
tree | 504525ee377244580dc3167ff5a89ada840a0800 /home/profiles/base | |
parent | e36d2db79f9bd82f96ac0515eb86793ff3f753c1 (diff) | |
download | nixrc-f8480208c9fd3aa950f48118eae35fdb0457aade.tar.gz nixrc-f8480208c9fd3aa950f48118eae35fdb0457aade.zip |
feat(home/base): use plain swaylock
Diffstat (limited to 'home/profiles/base')
-rw-r--r-- | home/profiles/base/default.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/home/profiles/base/default.nix b/home/profiles/base/default.nix index daae8db..ffd31e0 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-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"; } + { 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"; } ]; timeouts = [ { timeout = 270; 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 --grace 2 --fade-in 0.2"; } + { timeout = 300; command = "${pkgs.swaylock}/bin/swaylock -fFc ${neotheme.colors.background} --indicator --grace 2"; } { timeout = 600; command = "${pkgs.sway}/bin/swaymsg 'output * dpms off'"; |