When using fbsetbg to choose a wallpaper at random, e.g. with
fbsetbg -R /path/to/images/
and suppose that /path/to/images/ has several subdirectories containing images, fbsetbg will only choose a subdirectory randomly and, with feh as the setter, choose the first image from this subdirectory as the wallpaper.
This patch uses find instead of ls to look for image files, allowing for arbitrarily deep nested directories. (N.B.: One could also use ls -R, but that would mean removing some cruft).
Log in to post a comment.