summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-09-06 21:18:05 +0300
committerxAlpharax <42233094+xAlpharax@users.noreply.github.com>2023-09-06 21:18:05 +0300
commitb2bcd0fc0f9b06cc021d46bdc954addb3c433f99 (patch)
tree809d58bf1a0ede4a258dcae0b33fe6e14194d9ce /config.h
parentdebe2e06f3a4b809e16913b11e1ce7460dffdf39 (diff)
Added the following functions: vram_perc, vram_total, vram_used.
Changes to be committed: modified: README modified: components/vram.c modified: config.def.h modified: config.h modified: slstatus.h
Diffstat (limited to 'config.h')
-rw-r--r--config.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/config.h b/config.h
index 7c37cac..54c02fc 100644
--- a/config.h
+++ b/config.h
@@ -17,6 +17,7 @@ const struct arg args[] = {
{ cpu_freq, " %sHz", NULL },
{ ram_perc, " <%s ram>", NULL },
{ vram_perc, " <%s vram>", NULL },
+ { vram_total, " <%s vram>", NULL },
{ disk_perc, " <%s nvme>", "/" },
{ disk_perc, " <%s sata>", "/home/alphara/exfatssd" },
{ wifi_perc, " <%s wifi>", "wlp5s0" },
@@ -58,7 +59,6 @@ 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
@@ -75,6 +75,11 @@ const struct arg args[] = {
* username username of current user NULL
* vol_perc OSS/ALSA volume in percent mixer file (/dev/mixer)
* NULL on OpenBSD
+ *
+ * vram_perc gpu memory usage in percent NULL
+ * vram_total gpu total memory NULL
+ * vram_used gpu used memory NULL
+ *
* wifi_perc WiFi signal in percent interface name (wlan0)
* wifi_essid WiFi ESSID interface name (wlan0)
*/