diff options
author | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2015-03-01 07:42:59 -0800 |
---|---|---|
committer | Michael Stapelberg <stapelberg@users.noreply.github.com> | 2015-03-01 07:42:59 -0800 |
commit | 6996f0a4a34e0744f09dbce39a2164c6fcee875e (patch) | |
tree | 0fc0175da3af4bb8d48a6750921e649a5a2f1571 /include | |
parent | df8d69a9953a0a7da48a17dae6d2d1327c330411 (diff) | |
parent | 562a879f7c40bb7586e2d4b8dc55cf3171e5d43d (diff) |
Merge pull request #3 from chrko/master
Modify print_disk_info. Now there is no output if the path is no mountpoint.
Diffstat (limited to 'include')
-rw-r--r-- | include/i3status.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/i3status.h b/include/i3status.h index ef212c8..6e20af3 100644 --- a/include/i3status.h +++ b/include/i3status.h @@ -178,7 +178,7 @@ typedef enum { const char *first_eth_interface(const net_type_t type); 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, const char *prefix_type, const char *threshold_type, const double low_threshold); +void print_disk_info(yajl_gen json_gen, char *buffer, const char *path, const char *format, const char *format_not_mounted, const char *prefix_type, const char *threshold_type, const double low_threshold); void print_battery_info(yajl_gen json_gen, char *buffer, int number, const char *path, const char *format, const char *format_down, const char *status_chr, const char *status_bat, const char *status_full, int low_threshold, char *threshold_type, bool last_full_capacity, bool integer_battery_capacity, bool hide_seconds); 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); |