home/swayidle: change locker to swaylock

This commit is contained in:
Asmir A 2023-11-12 18:08:33 +01:00
parent 19cb0ea72f
commit 174e0c84d7
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -213,21 +213,21 @@ with lib; {
events = [ events = [
{ {
event = "before-sleep"; event = "before-sleep";
command = "swaylock_bg_blur.sh"; command = "${pkgs.swaylock}/bin/swaylock";
} }
{ {
event = "lock"; event = "lock";
command = "swaylock_bg_blur.sh"; command = "${pkgs.swaylock}/bin/swaylock";
} }
{ {
event = "after-resume"; event = "after-resume";
command = "pkill -USR1 i3status-rs"; command = "${procps.pkill}/bin/pkill -USR1 i3status-rs";
} }
]; ];
timeouts = [ timeouts = [
{ {
timeout = 15 * 60; timeout = 15 * 60;
command = "swaylock_bg_blur.sh"; command = "${pkgs.swaylock}/bin/swaylock";
} }
]; ];
}; };