Add script

This commit is contained in:
Dryusdan 2017-11-17 21:40:46 +01:00
parent 5a71d7c514
commit cbbd810ff3
2 changed files with 12 additions and 1 deletions

View File

@ -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 Executable file
View File

@ -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