Scripting Changing Backgrounds in Fluxbox
This is based on a little script I found when I was playing with FVWM.
I have spent almost an hour looking for the original so I could give the actual author credit. If anyone knows the source, please post it.
This is the original.
It selects a random background from the designated directory and changes it every 30 minutes.
I tested it today with Fluxbox's fbsetbg command and it works just fine when called from the Fluxbox startup file as /path/to/foo.sh &. As you see, all I did was substitute an fbsetbg command for the feh command. Because fbsetbg already has a "random" argument, I was able to discard all the "find" stuff.
If you have Fluxbox installed, see the fbsetbg help (fbsetbg -h) for an explanation of the switches.
|All times are GMT -5. The time now is 06:35 AM.|