Skip to content

Liso-cz/fluxbox-bg-rotator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

fluxbox-bg-rotator

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:

  1. Edit script file and set directory with wallpapers WALLPAPERDIR
  2. Edit .fluxbox/startup file and put the following code before exec fluxbox line.
 sleep 1
 {
        . /path/to/sctipt/random_wallpaper_slideshow.sh &
 } &