From c03588dcfc6aa07c320615ae9816fde68548cf03 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sat, 7 Oct 2023 15:12:02 +0900 Subject: feat(home/gui): swayidle: use loginctl to lock before sleep --- home/profiles/gui/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'home/profiles/gui') diff --git a/home/profiles/gui/default.nix b/home/profiles/gui/default.nix index c8bbd7d..2fbb505 100644 --- a/home/profiles/gui/default.nix +++ b/home/profiles/gui/default.nix @@ -189,7 +189,7 @@ in { enable = true; events = [ - { event = "before-sleep"; command = lockCommand; } + { event = "before-sleep"; command = "${pkgs.systemd}/bin/loginctl lock-session"; } { event = "lock"; command = lockCommand; } ]; timeouts = [ -- cgit 1.4.1