Fix lockscreen update script

This commit is contained in:
Agatha Lovelace 2023-10-06 22:12:22 +02:00
parent 883cc17050
commit 5fc359128c
Signed by: sorceress
GPG Key ID: 01D0B3AB10CED4F8
1 changed files with 3 additions and 1 deletions

View File

@ -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"