summaryrefslogtreecommitdiff
path: root/include/i3status.h
diff options
context:
space:
mode:
authorMichael Stapelberg <stapelberg@users.noreply.github.com>2015-03-01 07:42:59 -0800
committerMichael Stapelberg <stapelberg@users.noreply.github.com>2015-03-01 07:42:59 -0800
commit6996f0a4a34e0744f09dbce39a2164c6fcee875e (patch)
tree0fc0175da3af4bb8d48a6750921e649a5a2f1571 /include/i3status.h
parentdf8d69a9953a0a7da48a17dae6d2d1327c330411 (diff)
parent562a879f7c40bb7586e2d4b8dc55cf3171e5d43d (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/i3status.h')
-rw-r--r--include/i3status.h2
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);