diff options
author | Christian Kohlstedde <christian@kohlsted.de> | 2015-04-02 22:31:06 +0200 |
---|---|---|
committer | Christian Kohlstedde <christian@kohlsted.de> | 2015-04-02 22:31:06 +0200 |
commit | 5c094a54932edebf6e44c4a7119fa510ddf7ae7a (patch) | |
tree | 1340c76cf2d4ba5533657f6f92c29a47dd3e5daa /include/i3status.h | |
parent | 018702e01e0e60705cbbca861c5f54abcd41dc00 (diff) |
Adding the option "format_down" to path_exists and run_watch.
This fixes #1.
Diffstat (limited to 'include/i3status.h')
-rw-r--r-- | include/i3status.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/i3status.h b/include/i3status.h index 44046d9..54aee13 100644 --- a/include/i3status.h +++ b/include/i3status.h @@ -187,8 +187,8 @@ void print_time(yajl_gen json_gen, char *buffer, const char *title, const char * void print_ddate(yajl_gen json_gen, char *buffer, const char *format, time_t t); const char *get_ip_addr(const char *interface); void print_wireless_info(yajl_gen json_gen, char *buffer, const char *interface, const char *format_up, const char *format_down); -void print_run_watch(yajl_gen json_gen, char *buffer, const char *title, const char *pidfile, const char *format); -void print_path_exists(yajl_gen json_gen, char *buffer, const char *title, const char *path, const char *format); +void print_run_watch(yajl_gen json_gen, char *buffer, const char *title, const char *pidfile, const char *format, const char *format_down); +void print_path_exists(yajl_gen json_gen, char *buffer, const char *title, const char *path, const char *format, const char *format_down); 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); |