X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/83e84bebb6accdf0971bfa09a519d8cee37b0237..6624985cf4537440cb6403e319d16ce83bee43f2:/config.def.h diff --git a/config.def.h b/config.def.h index a6bba6f..5f1d4db 100644 --- a/config.def.h +++ b/config.def.h @@ -17,14 +17,21 @@ 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 (smallest value = 1) */ +static unsigned int update_interval = 1; + +/* mountpoint for diskusage */ +static const char mountpath[] = "/home"; + /* statusbar Possible arguments: - battery (battery percentage) - cpu_temperature (cpu temperature in degrees) - cpu usage (cpu usage in percent) - datetime (date and time) +- diskusage (disk usage in percent) - 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 wifi_signal, battery, cpu_usage, cpu_temperature, ram_usage, volume, datetime +#define FORMATSTRING "wifi %4s | bat %4s | cpu %4s %3s | ram %3s | vol %4s | disk %4s | %3s" +#define ARGUMENTS wifi_signal, battery, cpu_usage, cpu_temperature, ram_usage, volume, diskusage, datetime