Skip to content

Instantly share code, notes, and snippets.

@OkayDave
Created February 19, 2014 14:12
Show Gist options
  • Save OkayDave/9092894 to your computer and use it in GitHub Desktop.
Save OkayDave/9092894 to your computer and use it in GitHub Desktop.
Dual screen wallpaper changing script
#!/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