diff options
author | Stefan Ritter <xeno@thehappy.de> | 2011-07-05 09:32:11 +0200 |
---|---|---|
committer | Stefan Ritter <xeno@thehappy.de> | 2011-07-05 09:32:11 +0200 |
commit | 50e771d5a174b8d628aa8e67bdfaaac67926b0e6 (patch) | |
tree | 6fcb6c9c8009e31899ec5640736bfe553804939d /xorg | |
parent | 39e5854576597c22a66fd9f748cc951f35b91488 (diff) |
Random wallpaper
Diffstat (limited to 'xorg')
-rwxr-xr-x | xorg/xinitrc | 8 |
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 & |