From cbbd810ff33205f3f0d9252d260a86b1cc341004 Mon Sep 17 00:00:00 2001 From: Dryusdan Date: Fri, 17 Nov 2017 21:40:46 +0100 Subject: [PATCH] Add script --- README.md | 8 +++++++- unsplash | 5 +++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100755 unsplash diff --git a/README.md b/README.md index 3a40310..d484f0a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # unsplash-wallpaper -Script who change automatically your gnome / cinnamon wallpaper \ No newline at end of file +Script who change automatically your gnome / cinnamon wallpaper + +To use it : +Move unsplash script to `/usb/bin/unsplash` +Make it executable `chmod +x /usb/bin/unsplash` +Add crontab +Enjoy diff --git a/unsplash b/unsplash new file mode 100755 index 0000000..b9b2b13 --- /dev/null +++ b/unsplash @@ -0,0 +1,5 @@ +#/bin/bash + +wget -O /tmp/wallpaper.jpg https://unsplash.it/2560/1444/?random +rm .cache/wallpaper/* +gsettings set org.gnome.desktop.background picture-uri file:///tmp/wallpaper.jpg