소스 검색

Symlink current bg to slim's theme

Colin Powell 5 년 전
부모
커밋
ee4dd9e0d1
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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