summaryrefslogtreecommitdiff
path: root/include/i3status.h
diff options
context:
space:
mode:
authorIngo Bürk <admin@airblader.de>2018-05-19 22:08:42 +0200
committerGitHub <noreply@github.com>2018-05-19 22:08:42 +0200
commitb850f5852d0e455c246827a603ac28577a70428d (patch)
tree81530fd72f1d81d80e4d960d9009a857e55a59a6 /include/i3status.h
parentffe41cc9440d0404101dae9420f91d2e0cdf3468 (diff)
parentcba8f559384008f187e7388186b9885343be0678 (diff)
Merge pull request #270 from Stunkymonkey/mem-support
initial support of memory-usage for linux
Diffstat (limited to 'include/i3status.h')
-rw-r--r--include/i3status.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/i3status.h b/include/i3status.h
index 9ac471d..fe9206e 100644
--- a/include/i3status.h
+++ b/include/i3status.h
@@ -223,6 +223,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_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);