X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/83c98554ed39f37921152804e9fda7f4b0da0527..8e039b9dd2a7079d2b80a244d753eecf2feaa954:/config.def.h?ds=sidebyside diff --git a/config.def.h b/config.def.h index 2dd05de..75858dd 100644 --- a/config.def.h +++ b/config.def.h @@ -34,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] @@ -47,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" }, };