diff options
author | Ingo Bürk <admin@airblader.de> | 2019-10-28 08:38:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-28 08:38:48 +0100 |
commit | badef18c2238ede87773398f2f945f3492b6f4c5 (patch) | |
tree | 7398d356bd2295e1e0dd1a8156266a1750db8bc4 /include/i3status.h | |
parent | 3d6b1b576b3c1acd6d2932da454171cfd8e22821 (diff) | |
parent | 572c96d63ed41bfc83d7378454f3ae4505ad9601 (diff) |
Merge pull request #369 from 31KM/master
Introduce memory options 'unit' and 'decimals'
Diffstat (limited to 'include/i3status.h')
-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 217376a..7d22b21 100644 --- a/include/i3status.h +++ b/include/i3status.h @@ -225,7 +225,7 @@ void print_cpu_temperature_info(yajl_gen json_gen, char *buffer, int zone, const void print_cpu_usage(yajl_gen json_gen, char *buffer, const char *format, const char *format_above_threshold, const char *format_above_degraded_threshold, const char *path, const float max_threshold, const float degraded_threshold); 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, const char *format_above_threshold, const float max_threshold); -void print_memory(yajl_gen json_gen, char *buffer, const char *format, const char *format_degraded, const char *threshold_degraded, const char *threshold_critical, const char *memory_used_method); +void print_memory(yajl_gen json_gen, char *buffer, const char *format, const char *format_degraded, const char *threshold_degraded, const char *threshold_critical, const char *memory_used_method, const char *unit, const int decimals); void print_volume(yajl_gen json_gen, char *buffer, const char *fmt, const char *fmt_muted, const char *device, const char *mixer, int mixer_idx); bool process_runs(const char *path); int volume_pulseaudio(uint32_t sink_idx, const char *sink_name); |