summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJulien Lequertier <git@avrelaun.com>2013-02-10 17:59:37 +0100
committerMichael Stapelberg <michael@stapelberg.de>2013-02-14 19:35:15 +0100
commit67c2c1a7ead6bcdcd07080e581013fa7a0b58b6f (patch)
treecdda81830825842127c90df4b196b85c86d9f4f0 /include
parent8c273e54b867aeedcd1eadfbd6f4e4fad3690f74 (diff)
Added option to show battery capacity without decimals
Diffstat (limited to 'include')
-rw-r--r--include/i3status.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/i3status.h b/include/i3status.h
index f24fec5..de8373f 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);
+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_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();