diff options
author | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-07 11:45:52 +0200 |
---|---|---|
committer | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-07 11:45:52 +0200 |
commit | 7fa8c4b9a954647db79f79b78b33d79c00acd250 (patch) | |
tree | cdd25efa79a1c098ea2daf963ba2d2b4c951703d /wmiistatus.h | |
parent | e94e25208936ab8f6ab684b1b229bc29073b955d (diff) |
Write information in separate files, define order
wmii will show them with little border between, better than the previous
method, where an ascii bar was shown
Diffstat (limited to 'wmiistatus.h')
-rw-r--r-- | wmiistatus.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wmiistatus.h b/wmiistatus.h index 1e7f59f..9836dff 100644 --- a/wmiistatus.h +++ b/wmiistatus.h @@ -5,7 +5,9 @@ static bool first_push = true; typedef enum { CS_DISCHARGING, CS_CHARGING, CS_FULL } charging_status_t; -static void write_to_statusbar(const char *message); +static void cleanup_rbar_dir(void); +static void write_to_statusbar(const char *name, const char *message); +static void write_error_to_statusbar(const char *message); static void die(const char *fmt, ...); static char *skip_character(char *input, char character, int amount); static void push_part(const char *input, const int n); |