From f63445396e9c0137fa0ae2756d1b50839016aafa Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 20 Mar 2022 13:39:47 +0100 Subject: ... --- accounts/gkleen@sif/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 7b07791b..cf65c155 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -234,10 +234,10 @@ in { screen-locker = { enable = true; - lockCmd = pkgs.writeShellScript "lock" '' + lockCmd = toString (pkgs.writeShellScript "lock" '' ${pkgs.playerctl}/bin/playerctl -a pause exec ${pkgs.xsecurelock}/bin/xsecurelock - ''; + ''); xss-lock.extraOptions = ["--tranfer-sleep-lock"]; }; }; -- cgit v1.2.3