rbg - Random Background

Simple C program that recurses through a directory tree and finds a random image file, then uses a defined external program to set it as the X display's root bitmap image.

Invocation is as simple as rbg [keyword]

The program reads from a .rbgrc file in the user's home directory. This rc file has a very basic syntax:

The default !cmd is wmsetbg, but anything at all can be used.

Build

Just run make, make a .rbgrc file in your home directory (see rbgrc.samp for an example), place the rbg exec somewhere useful, and off you go.

No magic dependancies beyond the usual system stuff.

Files