aboutsummaryrefslogtreecommitdiff
path: root/.local/share/wallpapers/feh-slideshow.py
diff options
context:
space:
mode:
authorRyan Kavanagh <ryanakca@kubuntu.org>2011-08-14 17:16:55 -0400
committerRyan Kavanagh <ryanakca@kubuntu.org>2011-08-25 07:42:57 -0400
commit1c019761dfaf6be82de9284fa5e2b9dbfbdec27d (patch)
tree7ed6bd2f437d3a334bd7a81f62e6dfa63689272b /.local/share/wallpapers/feh-slideshow.py
Initial import
Diffstat (limited to '')
-rw-r--r--.local/share/wallpapers/feh-slideshow.py10
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))