X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/12521e4e10cbfadc2fd42d32de101652490bf5b3..552ba7fd94286135690f3a39f74c8e6f7743d415:/config.def.h diff --git a/config.def.h b/config.def.h index e4f0ffd..a752f10 100644 --- a/config.def.h +++ b/config.def.h @@ -17,6 +17,17 @@ static const char batteryfullfile[] = "/sys/class/power_supply/BAT0/energy_full_ /* time */ static const char timeformat[] = "%y-%m-%d %H:%M:%S"; -/* statusbar */ +/* bar update interval in seconds (smallest value = 1) */ +static unsigned int update_interval = 1; + +/* statusbar +Possible arguments: +- battery (battery percentage) +- cpu_temperature (cpu temperature in degrees) +- cpu usage (cpu usage in percent) +- datetime (date and time) +- ram_usage (ram usage in percent) +- volume (alsa volume and mute status in percent) +- wifi_signal (wifi signal in percent) */ #define FORMATSTRING "wifi %4s | bat %4s | cpu %4s %3s | ram %3s | vol %4s | %3s" -#define ARGUMENTS pWifi_signal, pBattery, pCpu_usage, pCpu_temperature, pRam_usage, pVolume, pDatetime +#define ARGUMENTS wifi_signal, battery, cpu_usage, cpu_temperature, ram_usage, volume, datetime