From debe2e06f3a4b809e16913b11e1ce7460dffdf39 Mon Sep 17 00:00:00 2001 From: xAlpharax <42233094+xAlpharax@users.noreply.github.com> Date: Wed, 6 Sep 2023 20:19:08 +0300 Subject: Integrating a VRAM monitoring comonent Changes to be committed: modified: Makefile modified: README new file: components/vram.c modified: config.h modified: slstatus.h --- config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 44444b5..7c37cac 100644 --- a/config.h +++ b/config.h @@ -16,6 +16,7 @@ const struct arg args[] = { { cpu_perc, " <%s cpu>", NULL }, { cpu_freq, " %sHz", NULL }, { ram_perc, " <%s ram>", NULL }, + { vram_perc, " <%s vram>", NULL }, { disk_perc, " <%s nvme>", "/" }, { disk_perc, " <%s sata>", "/home/alphara/exfatssd" }, { wifi_perc, " <%s wifi>", "wlp5s0" }, @@ -57,6 +58,7 @@ const struct arg args[] = { * ram_perc memory usage in percent NULL * ram_total total memory size in GB NULL * ram_used used memory in GB NULL + * vram_perc gpu memory usage in percent NULL * run_command custom shell command command (echo foo) * separator string to echo NULL * swap_free free swap in GB NULL -- cgit v1.2.3