From 7c02c10b728a099a6d328df9cfd9a3f1c4b88702 Mon Sep 17 00:00:00 2001 From: Simon Elsbrock Date: Tue, 22 May 2012 23:14:59 +0200 Subject: colorize battery output if remaining time below threshold --- include/i3status.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/i3status.h') 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(); -- cgit v1.2.3