summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIngo Bürk <admin@airblader.de>2019-10-28 08:38:48 +0100
committerGitHub <noreply@github.com>2019-10-28 08:38:48 +0100
commitbadef18c2238ede87773398f2f945f3492b6f4c5 (patch)
tree7398d356bd2295e1e0dd1a8156266a1750db8bc4 /include
parent3d6b1b576b3c1acd6d2932da454171cfd8e22821 (diff)
parent572c96d63ed41bfc83d7378454f3ae4505ad9601 (diff)
Merge pull request #369 from 31KM/master
Introduce memory options 'unit' and 'decimals'
Diffstat (limited to 'include')
-rw-r--r--include/i3status.h2
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);