Reads images in given directory, picks random one and sets it as Fluxbox background. To prevent repetition, all displayed images are stored in file and excluded from further selection. When there is no image to be displayed, file storage is deleted and process starts all over again.
Default image rotation is 10 minutes.
Default image directory is $HOME/wallpapers
NOTE: Script can be easily customized for any other window manager.
Usage:
- Edit script file and set directory with wallpapers
WALLPAPERDIR
- Edit .fluxbox/startup file and put the following code before
exec fluxbox
line.
sleep 1
{
. /path/to/sctipt/random_wallpaper_slideshow.sh &
} &