diff options
author | Daniel Walter <d.walter@0x90.at> | 2016-03-10 11:55:42 +0100 |
---|---|---|
committer | Daniel Walter <d.walter@0x90.at> | 2016-03-10 11:55:42 +0100 |
commit | 5295629c4fe987ee51fcfdd380c86e3e0d5de5b5 (patch) | |
tree | ff78e301c08a8d61172f0a61afea4f7532e96e8f /config.def.h | |
parent | 410ba38a0160da8cbcc81dddd704ae9c7f6d15e2 (diff) |
add update_interval
add a short sleep to reduce load
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 3 |
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) |