Xinqi Bao's Git

grammar correction
[slstatus.git] / config.def.h
index 3cbbedf..75858dd 100644 (file)
@@ -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" },
 };