random 1x.com wallpaper with either feh or xv

EDIT: Sep-28-2010 : as of a while ago 1x.com changed how their random images are served so this script no longer works. i’ll see if i can use a different site as pointed out in the comments. so after creating the evilwm random wallpaper script i decided that i wanted to use the fixed resolution … Read More

evilwm random wallpaper with either feh or xv

so i decided to have my wallpaper in evilwm switch up every 60 seconds but since setting the wallpaper in evilwm requires the usage of feh, xv or some other utility i came up with this little script below which gets daemonized by .xinitrc at login: #!/bin/bash while :;do files=(/path/to/*.jpg /path/to/*.jpeg /path/to/*.png /path/to/*.gif) N=${#files[@]} ((N=RANDOM%N)) … Read More