Created
March 25, 2013 17:02
-
-
Save danixland/5238699 to your computer and use it in GitHub Desktop.
the name says it all, this little script will change the background of your desktop every 10 minutes. you just have to change the WPAPERS variable to match an existing directory full of jpg or png images. you'll have to have fbsetbg installed for this script to work..
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
WPAPERS="/home/danix/Immagini/natura" | |
while true; do | |
find $WPAPERS -type f \( -name '*.jpg' -o -name '*.png' \) -print0 | | |
shuf -n1 -z | xargs -0 fbsetbg -f | |
sleep 10m | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment