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";