Преглед изворни кода

Remove the symlink before we create it #systemd

Colin Powell пре 5 година
родитељ
комит
7b81e8cbab
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      systemd/.config/systemd/user/changepaper.sh

+ 1 - 0
systemd/.config/systemd/user/changepaper.sh

@@ -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"