From 0eafa31bcbf034e8a6a247539e9ff1b77fad3c18 Mon Sep 17 00:00:00 2001 From: elythh Date: Sat, 28 Oct 2023 18:19:35 +0200 Subject: [PATCH] :wrench: use swaylock --- home/gwen/conf/utils/swayidle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/gwen/conf/utils/swayidle/default.nix b/home/gwen/conf/utils/swayidle/default.nix index 093ec49e..6aed5e55 100644 --- a/home/gwen/conf/utils/swayidle/default.nix +++ b/home/gwen/conf/utils/swayidle/default.nix @@ -15,7 +15,7 @@ in events = [ { event = "before-sleep"; - command = "${pkgs.systemd}/bin/loginctl lock-session"; + command = "${pkgs.swaylock}/bin/swaylock"; } { event = "lock"; @@ -24,7 +24,7 @@ in ]; timeouts = [ { - timeout = 330; + timeout = 630; command = suspendScript.outPath; } ];