Kaynağa Gözat

Remove the symlink before we create it #systemd

Colin Powell 5 yıl önce
ebeveyn
işleme
7b81e8cbab
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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"