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"