From 6279964c6b29a549757f59c5a05c9b821a2a4bc5 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Mon, 31 Dec 2012 18:13:36 +0100 Subject: Add colorized output for load avg --- include/i3status.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/i3status.h b/include/i3status.h index de8373f..47f3350 100644 --- a/include/i3status.h +++ b/include/i3status.h @@ -151,7 +151,7 @@ void print_run_watch(yajl_gen json_gen, char *buffer, const char *title, const c void print_cpu_temperature_info(yajl_gen json_gen, char *buffer, int zone, const char *path, const char *format, int); void print_cpu_usage(yajl_gen json_gen, char *buffer, const char *format); void print_eth_info(yajl_gen json_gen, char *buffer, const char *interface, const char *format_up, const char *format_down); -void print_load(yajl_gen json_gen, char *buffer, const char *format); +void print_load(yajl_gen json_gen, char *buffer, const char *format, const int max_threshold); void print_volume(yajl_gen json_gen, char *buffer, const char *fmt, const char *device, const char *mixer, int mixer_idx); bool process_runs(const char *path); -- cgit v1.2.3