diff options
author | Ryan Kavanagh <ryanakca@kubuntu.org> | 2011-08-14 17:16:55 -0400 |
---|---|---|
committer | Ryan Kavanagh <ryanakca@kubuntu.org> | 2011-08-25 07:42:57 -0400 |
commit | 1c019761dfaf6be82de9284fa5e2b9dbfbdec27d (patch) | |
tree | 7ed6bd2f437d3a334bd7a81f62e6dfa63689272b /.local/share/wallpapers/feh-slideshow.py |
Initial import
Diffstat (limited to '.local/share/wallpapers/feh-slideshow.py')
-rw-r--r-- | .local/share/wallpapers/feh-slideshow.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.local/share/wallpapers/feh-slideshow.py b/.local/share/wallpapers/feh-slideshow.py new file mode 100644 index 0000000..2e33a37 --- /dev/null +++ b/.local/share/wallpapers/feh-slideshow.py @@ -0,0 +1,10 @@ +#!/usr/bin/python + +import os +import random + +WALLPAPER_DIR="/home/ryan/.local/share/wallpapers" + +wallpapers = os.listdir(WALLPAPER_DIR) + +os.system('feh --bg-center %s' % random.choice(wallpapers)) |