summaryrefslogtreecommitdiffstats
path: root/xorg/xinitrc
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2011-07-05 09:32:11 +0200
committerStefan Ritter <xeno@thehappy.de>2011-07-05 09:32:11 +0200
commit50e771d5a174b8d628aa8e67bdfaaac67926b0e6 (patch)
tree6fcb6c9c8009e31899ec5640736bfe553804939d /xorg/xinitrc
parent39e5854576597c22a66fd9f748cc951f35b91488 (diff)
Random wallpaper
Diffstat (limited to 'xorg/xinitrc')
-rwxr-xr-xxorg/xinitrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/xorg/xinitrc b/xorg/xinitrc
index 4fd10ce..432c1b6 100755
--- a/xorg/xinitrc
+++ b/xorg/xinitrc
@@ -24,9 +24,11 @@ if [ -e /usr/bin/xrandr ]; then
fi
fi
-if [ -e "$WALLPAPER" ] && [ -e /usr/bin/feh ]; then
- feh --bg-scale $WALLPAPER
-fi
+#if [ -e "$WALLPAPER" ] && [ -e /usr/bin/feh ]; then
+# feh --bg-scale $WALLPAPER
+#fi
+
+feh --bg-scale ~/media/bilder/wallpaper/$(ls ~/media/bilder/wallpaper/ | sort --random-sort | head -1)
if [ -e /usr/bin/xscreensaver ]; then
xscreensaver -no-splash &