X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/1d43e2f2b2a31caa48f16d0042d56e57545b2b48..8e039b9dd2a7079d2b80a244d753eecf2feaa954:/config.def.h diff --git a/config.def.h b/config.def.h index 3cbbedf..75858dd 100644 --- a/config.def.h +++ b/config.def.h @@ -26,6 +26,7 @@ static const char unknowntext[] = "n/a"; - gid (gid of current user) [argument: NULL] - hostname [argument: NULL] - ip (ip address) [argument: interface] +- load_avg (load average) [argument: NULL] - ram_free (ram usage in percent) [argument: NULL] - ram_perc (ram usage in percent) [argument: NULL] - ram_total (ram usage in percent) [argument: NULL] @@ -33,6 +34,7 @@ static const char unknowntext[] = "n/a"; - run_command (run custom shell command) [argument: command] - temp (temperature in degrees) [argument: temperature file] - uid (uid of current user) [argument: NULL] +- uptime (uptime) [argument: NULL] - username (username of current user) [argument: NULL] - vol_perc (alsa volume and mute status in percent) [argument: soundcard] - wifi_perc (wifi signal in percent) [argument: wifi card interface name] @@ -46,5 +48,5 @@ static const struct arg args[] = { { ram_perc, "ram %3s | ", NULL }, { vol_perc, "vol %4s | ", "default" }, { disk_perc, "ssd %3s | ", "/" }, - { datetime, "%s", "%y-%m-%d %H:%M:%S" }, + { datetime, "%s", "%F %T" }, };