summaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'status.c')
-rw-r--r--status.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/status.c b/status.c
index 90ec3d3..aadc632 100644
--- a/status.c
+++ b/status.c
@@ -227,10 +227,11 @@ get_net_link_status(char* buf) {
}
static struct element statusbar[] = {
+ /* Add status elements here */
- {.f = get_net_link_status, .fire_interval = {5, 0}, .fire_previous = {0}, .buf = {0}},
- {.f = get_all_bat_status, .fire_interval = {60, 0}, .fire_previous = {0}, .buf = {0}},
- {.f = date, .fire_interval = {2, 500000}, .fire_previous = {0}, .buf = {0}},
+ {get_net_link_status, {5, 0}, {0}, {0}},
+ { get_all_bat_status, {60, 0}, {0}, {0}},
+ { date, {2, 500000}, {0}, {0}},
};