Generate betterlockscreen images in the background

This commit is contained in:
exu 2023-08-18 13:18:10 +02:00
parent 9e13e7e125
commit afd028adce

View File

@ -370,10 +370,10 @@ cat <<EOF
######################################## ########################################
EOF EOF
# betterlockscreen cache image # generate betterlockscreen cache image in background
imagepath="/home/marc/Bilder/Backgrounds/artstation/dk-lan/artstation_14224733_55806391_月半与鬼哭.jpg" imagepath="/home/marc/Bilder/Backgrounds/artstation/dk-lan/artstation_14224733_55806391_月半与鬼哭.jpg"
if [ -f "$imagepath" ]; then if [ -f "$imagepath" ]; then
betterlockscreen -u "$imagepath" betterlockscreen -u "$imagepath" &
fi fi
# reload systemd user scripts # reload systemd user scripts