summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authoronelin <oscar@nelin.dk>2026-05-02 15:43:41 +0000
committeronelin <oscar@nelin.dk>2026-05-02 15:43:41 +0000
commit3cf48f65cd78135b237bc4f562e0a0ea1e0d013d (patch)
treeb614be333dc013ad3f22f947ce664fb52704db18 /config.def.h
parent56f5db0e3b52aa7dd9d975f46221dfaf8aca4b46 (diff)
Add external command functionalityHEADmaster
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index e5b1331..5ae6803 100644
--- a/config.def.h
+++ b/config.def.h
@@ -2,6 +2,7 @@
// argument, consult the documentation of that specific element
// seconds, interval between updates
// milliseconds, interval in addition to seconds between updates
-ELEMENT(wifi, "wlp1s0", 0, 15)
-ELEMENT(battery, "BAT0", 2, 0)
-ELEMENT(date, NULL, 0, 7.5)
+ELEMENT(wlp1s0, wifi, "wlp1s0", 0, 15)
+ELEMENT(bat, battery, "BAT0", 2, 0)
+ELEMENT(vol, command, "bash -c 'echo \"$(pamixer --get-volume)󰕾\"", 2, 0)
+ELEMENT(date, date, NULL, 0, 7.5)