diff options
author | Michael Stapelberg <michael@stapelberg.de> | 2009-08-18 21:29:44 +0200 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2009-08-18 21:29:44 +0200 |
commit | bb52b40c8ed5b3c938f6bb157b08bcb18bb067c2 (patch) | |
tree | b51353978312adc5624872a2f0fbb3e2f0da79d3 /i3status.h | |
parent | 56312001de9362ced18962149bd8143185214561 (diff) |
Add support for xmobar
Use i3status-xmobar | xmobar -o -t "%StdinReader%" -c "[Run StdinReader]"
You might need to copy the default configuration to ~/.xmobarrc
Diffstat (limited to 'i3status.h')
-rw-r--r-- | i3status.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 */ |