summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorDaniel Walter <d.walter@0x90.at>2016-03-10 11:55:42 +0100
committerDaniel Walter <d.walter@0x90.at>2016-03-10 11:55:42 +0100
commit5295629c4fe987ee51fcfdd380c86e3e0d5de5b5 (patch)
treeff78e301c08a8d61172f0a61afea4f7532e96e8f /config.def.h
parent410ba38a0160da8cbcc81dddd704ae9c7f6d15e2 (diff)
add update_interval
add a short sleep to reduce load
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index a6bba6f..afd0320 100644
--- a/config.def.h
+++ b/config.def.h
@@ -17,6 +17,9 @@ static const char batteryfullfile[] = "/sys/class/power_supply/BAT0/energy_full_
/* time */
static const char timeformat[] = "%y-%m-%d %H:%M:%S";
+/* bar update interval in seconds */
+static unsigned int update_interval = 10;
+
/* statusbar
Possible arguments:
- battery (battery percentage)