Created
July 27, 2014 17:53
-
-
Save pry0cc/f3a0a183c1afee7c5519 to your computer and use it in GitHub Desktop.
A handy little script I wrote to randomly change my wallpapers with feh. Does require images to contain a 2 digit number - Like the images on wallbase.cc
This file contains hidden or 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 | |
cd ~/Pictures/Wallbase/ | |
while [ 1 ] | |
do | |
feh --bg-scale $(ls | grep $[ ( $RANDOM % 100 ) + 1 ]) | |
sleep 10 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment