2 # Pick a random wallpaper
4 if [ ! "$wallpapers" ]; then
5 wallpapers=~/wallpapers/
7 feh -r --randomize --bg-fill "$wallpapers"
9 for pid in $(pidof -x randombg); do
10 if test "$pid" != $$; then
14 while :; do feh -r --randomize --bg-fill "$wallpapers"; sleep "$2"; done