const char *time_format;
const char *battery_path;
bool use_colors;
+bool get_ethspeed;
const char *wmii_normcolors = "#222222 #333333";
char order[MAX_ORDER][2];
const char **run_watches;
unsigned int num_run_watches;
-int interval = 1;
+unsigned int interval = 1;
void die(const char *fmt, ...);
{
use_colors = true;
}
+ OPT("get_ethspeed")
+ {
+ get_ethspeed = true;
+ }
OPT("normcolors")
{
wmii_normcolors = strdup(dest_value);
fclose(handle);
if (wmii_path == NULL)
- die("No wmii_path specified in configuration file");
+ exit(-4);
return result;
}