Browse Source

Add script

master
Dryusdan 5 years ago
parent
commit
cbbd810ff3
  1. 8
      README.md
  2. 5
      unsplash

8
README.md

@ -1,3 +1,9 @@
# unsplash-wallpaper
Script who change automatically your gnome / cinnamon wallpaper
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

5
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