summaryrefslogtreecommitdiffstats
path: root/xorg/xinitrc
diff options
context:
space:
mode:
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 &