1
2
3
4
5
6
7
8
|
// element name, defined in elements/*.h
// argument, consult the documentation of that specific element
// seconds, interval between updates
// milliseconds, interval in addition to seconds between updates
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)
|