summaryrefslogtreecommitdiff
path: root/i3status.h
diff options
context:
space:
mode:
Diffstat (limited to 'i3status.h')
-rw-r--r--i3status.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/i3status.h b/i3status.h
index 0eb9ce1..73221a5 100644
--- a/i3status.h
+++ b/i3status.h
@@ -5,7 +5,11 @@
#include "queue.h"
-#define BAR "^fg(#333333)^p(5;-2)^ro(2)^p()^fg()^p(5)"
+#ifdef DZEN
+ #define BAR "^fg(#333333)^p(5;-2)^ro(2)^p()^fg()^p(5)"
+#elif XMOBAR
+ #define BAR "<fc=#333333> | </fc>"
+#endif
#define BEGINS_WITH(haystack, needle) (strncmp(haystack, needle, strlen(needle)) == 0)
#define max(a, b) (a > b ? a : b)
@@ -55,6 +59,7 @@ bool slurp(char *filename, char *destination, int size);
/* src/output.c */
void write_error_to_statusbar(const char *message);
char *color(const char *colorstr);
+char *endcolor() __attribute__ ((pure));
void cleanup_rbar_dir();
/* src/config.c */