summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-09-06 20:19:08 +0300
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-09-06 20:19:08 +0300
commitdebe2e06f3a4b809e16913b11e1ce7460dffdf39 (patch)
tree9f303283f9133d48af2aca0ab081330e7841cc61 /config.h
parent13322f58bae5aafc0dbdd47b25836ed44a0d3464 (diff)
Integrating a VRAM monitoring comonent
Changes to be committed: modified: Makefile modified: README new file: components/vram.c modified: config.h modified: slstatus.h
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
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