summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Elsbrock <simon@iodev.org>2012-05-22 23:14:59 +0200
committerMichael Stapelberg <michael@stapelberg.de>2012-05-25 09:53:49 +0200
commit7c02c10b728a099a6d328df9cfd9a3f1c4b88702 (patch)
treef5203932e086b125987a8889c774bbd63854f012 /include
parent7a77472a810b0a955f2755dd028216965b56be31 (diff)
colorize battery output if remaining time below threshold
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 a6d5fc6..eb19d52 100644
--- a/include/i3status.h
+++ b/include/i3status.h
@@ -137,7 +137,7 @@ char *auto_detect_format();
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, bool last_full_capacity);
+void print_battery_info(yajl_gen json_gen, char *buffer, int number, const char *path, const char *format, int threshold, bool last_full_capacity);
void print_time(yajl_gen json_gen, char *buffer, const char *format, struct tm *current_tm);
void print_ddate(yajl_gen json_gen, char *buffer, const char *format, struct tm *current_tm);
const char *get_ip_addr();