const char *time_format;
const char *battery_path;
bool use_colors;
-const char *wmii_normcolors;
+const char *wmii_normcolors = "#222222 #333333";
char order[MAX_ORDER][2];
const char **run_watches;
unsigned int num_run_watches;
+int interval = 1;
void die(const char *fmt, ...);
SET_ORDER("load", ORDER_LOAD);
SET_ORDER("time", ORDER_TIME);
token = walk;
+ while (isspace((int)(*token)))
+ token++;
}
}
OPT("color")
{
wmii_normcolors = strdup(dest_value);
}
+ OPT("interval")
+ {
+ interval = atoi(dest_value);
+ }
else
{
result = -2;