From 8138d5e104ee9b22052818c79cce6adeae4543b4 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Mon, 5 Aug 2024 14:26:10 -0400 Subject: [PATCH] swayidle: sleep 2s after swaylock before-sleep --- homeManagerModules/services/swayidle/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeManagerModules/services/swayidle/default.nix b/homeManagerModules/services/swayidle/default.nix index 95453a87..4d34add6 100644 --- a/homeManagerModules/services/swayidle/default.nix +++ b/homeManagerModules/services/swayidle/default.nix @@ -19,7 +19,7 @@ in { } { event = "before-sleep"; - command = "${lib.getExe pkgs.swaylock}"; + command = "${lib.getExe pkgs.swaylock} && ${lib.getExe' pkgs.coreutils "sleep"} 2"; } { event = "lock";