X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/02af858a35d225f25de260accec19fa71587d7f2..5a943fa59cab43f4a2cf6c133c4ef5676d6358b1:/config.def.h diff --git a/config.def.h b/config.def.h index e84c40a..813bded 100644 --- a/config.def.h +++ b/config.def.h @@ -12,14 +12,15 @@ static const char batteryfull[] = "energy_full_design"; static unsigned int update_interval = 1; /* statusbar -- get_battery (battery percentage) [argument: battery name] -- cpu_temperature (cpu temperature in degrees) [argument: temperature file] -- cpu usage (cpu usage in percent) +- battery_perc (battery percentage) [argument: battery name] +- cpu_perc (cpu usage in percent) [argument: NULL] - datetime (date and time) [argument: format] -- diskusage (disk usage in percent) [argument: mountpoint] -- ram_usage (ram usage in percent) -- volume (alsa volume and mute status in percent) [argument: soundcard] -- wifi_signal (wifi signal in percent) [argument: wifi card interface name] */ +- disk_perc (disk usage in percent) [argument: mountpoint] +- entropy (available entropy) [argument: NULL] +- ram_perc (ram usage in percent) [argument: NULL] +- temp (temperature in degrees) [argument: temperature file] +- vol_perc (alsa volume and mute status in percent) [argument: soundcard] +- wifi_perc (wifi signal in percent) [argument: wifi card interface name] */ static const struct arg args[] = { /* function format argument */ { wifi_perc, "wifi %4s | ", "wlp3s0" }, @@ -29,5 +30,6 @@ static const struct arg args[] = { { ram_perc, "ram %3s | ", NULL }, { vol_perc, "vol %4s | ", "default" }, { disk_perc, "ssd %3s | ", "/" }, + { entropy, "crypt %s | ", NULL }, { datetime, "%s", "%y-%m-%d %H:%M:%S" }, };