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