From 9e869829c263d611e3ece814ff2b826463833238 Mon Sep 17 00:00:00 2001 From: Yuchen Guo <77314501+ne9z@users.noreply.github.com> Date: Tue, 28 Nov 2023 12:32:00 +0100 Subject: [PATCH] swayidle: daemonize swaylock in example configuration --- modules/services/swayidle.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/swayidle.nix b/modules/services/swayidle.nix index 54bc5b41e..bf791b1ec 100644 --- a/modules/services/swayidle.nix +++ b/modules/services/swayidle.nix @@ -84,7 +84,7 @@ in { default = [ ]; example = literalExpression '' [ - { event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock"; } + { event = "before-sleep"; command = "${pkgs.swaylock}/bin/swaylock -fF"; } { event = "lock"; command = "lock"; } ] '';