"*color: random",
"*colorcount: 64",
"*delay: 30000",
+ "*duration: 120",
"*soften: 1",
"*invert: FALSE",
#ifdef __sgi /* really, HAVE_READ_DISPLAY_EXTENSION */
static XrmOptionDescRec bumps_options [] = {
{ "-color", ".color", XrmoptionSepArg, 0 },
{ "-colorcount", ".colorcount", XrmoptionSepArg, 0 },
+ { "-duration", ".duration", XrmoptionSepArg, 0 },
{ "-delay", ".delay", XrmoptionSepArg, 0 },
{ "-soften", ".soften", XrmoptionSepArg, 0 },
{ "-invert", ".invert", XrmoptionNoArg, "TRUE" },
/* XWindows specific variables. */
Display *dpy;
Window Win;
+ Screen *screen;
Pixmap source;
GC GraphicsContext;
XColor *xColors;
SSpotLight SpotLight;
int delay;
+ int duration;
+ time_t start_time;
async_load_state *img_loader;
} SBumps;