From 5fc359128c45ec69d20c12b5d5588fd378ac317a Mon Sep 17 00:00:00 2001 From: "Agatha V. Lovelace" Date: Fri, 6 Oct 2023 22:12:22 +0200 Subject: [PATCH] Fix lockscreen update script --- common/fragments/graphical/lockscreen.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/fragments/graphical/lockscreen.nix b/common/fragments/graphical/lockscreen.nix index f3ff7b6..8b76544 100644 --- a/common/fragments/graphical/lockscreen.nix +++ b/common/fragments/graphical/lockscreen.nix @@ -7,11 +7,13 @@ }; # Update lockscreen wallpaper after locking - xdg.configFile."betterlockscreen/custom-post.sh".text = + home.file.".config/betterlockscreen/custom-post.sh".text = "betterlockscreen -u ${ config.environment.graphical.colorschemes."${config.environment.graphical.theme.name}".image }"; + home.file.".config/betterlockscreen/custom-post.sh".executable = true; + # Send a notification 10 seconds before locking services.screen-locker.xautolock.extraOptions = [ "-notify 10"