Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
add config checks on startup for better error handling
[slstatus.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
a6bba6f
..
afd0320
100644
(file)
--- 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)