summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorAaron Marcher <info@nulltime.net>2016-03-10 14:50:11 +0100
committerAaron Marcher <info@nulltime.net>2016-03-10 14:50:11 +0100
commite046ee18f92569ca67b323757421c5e9b6637d0d (patch)
tree7b91494ab0c79c3d889d09f968e868472806c0d7 /config.def.h
parent83e84bebb6accdf0971bfa09a519d8cee37b0237 (diff)
parent50219004d6a631b156be04e4ce4b235622a6db93 (diff)
downloadslstatus-e046ee18f92569ca67b323757421c5e9b6637d0d.tar.gz
Merge pull request #6 from sahne/master
minor cleanups and sanity checks
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)