Remove the symlink before we create it #systemd
This commit is contained in:
@ -24,6 +24,7 @@ then
|
||||
#set the current image as wallpaper
|
||||
feh --bg-scale $BASEDIR/$img_md5.jpg
|
||||
#link slim background to new image
|
||||
rm /usr/share/slim/themes/default/background.jpg
|
||||
ln -s $BASEDIR/$img_md5.jpg /usr/share/slim/themes/default/background.jpg
|
||||
else
|
||||
echo "No Wallpaper today"
|
||||
|
||||
Reference in New Issue
Block a user