X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/0892a93dbd694a9fb131af0b42b5691b8f4daa1e..39ee31c2425d3ff79f88808cabf44c305d6849ab:/config.def.h diff --git a/config.def.h b/config.def.h index 6c42e0a..495f44f 100644 --- a/config.def.h +++ b/config.def.h @@ -1,7 +1,7 @@ /* See LICENSE file for copyright and license details. */ /* interval between updates (in ms) */ -static const int interval = 1000; +static const unsigned int interval = 1000; /* text to show if no value can be retrieved */ static const char unknown_str[] = "n/a"; @@ -16,6 +16,8 @@ static const char unknown_str[] = "n/a"; * NULL on OpenBSD * battery_state battery charging state battery name (BAT0) * NULL on OpenBSD + * battery_remaining battery remaining HH:MM battery name (BAT0) + * NULL on OpenBSD * cpu_perc cpu usage in percent NULL * cpu_freq cpu frequency in MHz NULL * datetime date and time format string (%F %T)