Browse Source

Symlink current bg to slim's theme

Colin Powell 5 năm trước cách đây
mục cha
commit
ee4dd9e0d1
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      systemd/.config/systemd/user/changepaper.sh

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

@@ -23,6 +23,8 @@ then
         curl "$img" > $img_file
         #set the current image as wallpaper
 	feh --bg-scale $BASEDIR/$img_md5.jpg
+	#link slim background to new image
+	ln -s $BASEDIR/$img_md5.jpg /usr/share/slim/themes/default/background.jpg
 else
 	echo "No Wallpaper today"
 fi