From 5295629c4fe987ee51fcfdd380c86e3e0d5de5b5 Mon Sep 17 00:00:00 2001 From: Daniel Walter Date: Thu, 10 Mar 2016 11:55:42 +0100 Subject: add update_interval add a short sleep to reduce load --- config.def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.def.h') 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) -- cgit v1.2.3