Created
February 19, 2014 14:12
-
-
Save OkayDave/9092894 to your computer and use it in GitHub Desktop.
Dual screen wallpaper changing script
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
#!/usr/bin/env python | |
import glob | |
import random | |
import os | |
files = glob.glob("/home/dave/Pictures/wallpaper/*.jpg") | |
random.shuffle(files) | |
command = "feh --no-fehbg --bg-fill " + files[0] + " " + files[1] | |
os.system(command) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment