diff options
author | Christoph Göttschkes <just.mychris@googlemail.com> | 2013-03-07 21:21:54 +0100 |
---|---|---|
committer | Michael Stapelberg <michael@stapelberg.de> | 2013-03-09 11:43:55 +0100 |
commit | 5e0b8812bfdd3c128bdbfc022d4eb25a4b0d2490 (patch) | |
tree | 927ad61d106cd3a14f3711eac118747d710aa192 /include | |
parent | d62e10c56dd02401d89e9d5d2ae32ba51ad9744b (diff) |
Added format_down option for battery if no battery is available.
Diffstat (limited to 'include')
-rw-r--r-- | include/i3status.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/i3status.h b/include/i3status.h index 47f3350..6b2a688 100644 --- a/include/i3status.h +++ b/include/i3status.h @@ -142,7 +142,7 @@ void set_timezone(const char *tz); void print_ipv6_info(yajl_gen json_gen, char *buffer, const char *format_up, const char *format_down); void print_disk_info(yajl_gen json_gen, char *buffer, const char *path, const char *format); -void print_battery_info(yajl_gen json_gen, char *buffer, int number, const char *path, const char *format, int low_threshold, char *threshold_type, bool last_full_capacity, bool integer_battery_capacity); +void print_battery_info(yajl_gen json_gen, char *buffer, int number, const char *path, const char *format, const char *format_down, int low_threshold, char *threshold_type, bool last_full_capacity, bool integer_battery_capacity); void print_time(yajl_gen json_gen, char *buffer, const char *format, const char *tz, time_t t); void print_ddate(yajl_gen json_gen, char *buffer, const char *format, time_t t); const char *get_ip_addr(); |