Create folder if not available

This commit is contained in:
exu 2023-11-18 16:55:15 +01:00
parent a5672ce0a8
commit 9a69758fe5

View File

@ -334,6 +334,7 @@ fi
# copy chosen image for lockscreen and desktop
backgroundimage="/home/exu/Bilder/Backgrounds/artstation/dk-lan/artstation_14224733_55806391_月半与鬼哭.jpg"
mkdir -p "$HOME/.cache/backgrounds"
cp "$backgroundimage" "$HOME/.cache/backgrounds/desktop"
cp "$backgroundimage" "$HOME/.cache/backgrounds/lockscreen"