14 * Returns the correct color format for dzen (^fg(color)) or xmobar (<fc=color>)
17 char *color(const char *colorstr) {
18 static char colorbuf[32];
19 if (!cfg_getbool(cfg_general, "colors")) {
24 (void)snprintf(colorbuf, sizeof(colorbuf), "^fg(%s)", colorstr);
26 (void)snprintf(colorbuf, sizeof(colorbuf), "<fc=%s>", colorstr);
32 * Some color formats (xmobar) require to terminate colors again
43 void print_seperator() {
44 #if defined(DZEN) || defined(XMOBAR)