From 792f712743a057f0969fafc39c4c957e4b0ae25e Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Mon, 2 Mar 2020 00:19:09 +0300 Subject: [PATCH] Update modules/workspace/i3/default.nix --- modules/workspace/i3/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/workspace/i3/default.nix b/modules/workspace/i3/default.nix index b88e506..dead281 100755 --- a/modules/workspace/i3/default.nix +++ b/modules/workspace/i3/default.nix @@ -2,7 +2,7 @@ let thm = config.themes.colors; apps = config.defaultApplications; - lock = "swaylock -c ${builtins.substring 1 7 thm.bg}"; + lock = "swaylock -f -c ${builtins.substring 1 7 thm.bg}"; in { environment.sessionVariables._JAVA_AWT_WM_NONREPARENTING = "1"; @@ -86,7 +86,7 @@ in { { command = "${pkgs.cantata}/bin/cantata"; } { - command = "swayidle before-sleep '${lock}' lock '${lock}' unlock 'pkill -9 swaylock'"; + command = "swayidle -w before-sleep '${lock}' lock '${lock}' unlock 'pkill -9 swaylock'"; } ];