Change betterlockscreen background image creation
Background images won't be cached anymore. Instead the background image will be generated on device to fit the screen size.
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 3.0 MiB |
Before Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 80 KiB |
Before Width: | Height: | Size: 88 KiB |
Before Width: | Height: | Size: 3.5 MiB |
Before Width: | Height: | Size: 1.4 MiB |
Before Width: | Height: | Size: 3.0 MiB |
Before Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 77 KiB |
Before Width: | Height: | Size: 84 KiB |
Before Width: | Height: | Size: 3.5 MiB |
@ -386,6 +386,12 @@ cat <<EOF
|
|||||||
########################################
|
########################################
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# betterlockscreen cache image
|
||||||
|
imagepath="/home/marc/Bilder/Backgrounds/artstation/dk-lan/artstation_14224733_55806391_月半与鬼哭.jpg"
|
||||||
|
if [ -f "$imagepath" ]; then
|
||||||
|
betterlockscreen -u "$imagepath"
|
||||||
|
fi
|
||||||
|
|
||||||
# reload systemd user scripts
|
# reload systemd user scripts
|
||||||
systemctl --user daemon-reload
|
systemctl --user daemon-reload
|
||||||
|
|
||||||
|