add update_interval
add a short sleep to reduce load
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user