Compare commits

...

1 Commits

Author SHA1 Message Date
Sheldon Lee
fe65a9cc87 Added battery status for laptop. 2021-09-11 23:58:56 +08:00

View File

@ -66,6 +66,7 @@ static const char unknown_str[] = "n/a";
static const struct arg args[] = { static const struct arg args[] = {
/* function format argument */ /* function format argument */
{ cpu_perc, " CPU: %s% | ", NULL }, { cpu_perc, " CPU: %s% | ", NULL },
{ ram_perc, "RAM: %s% | ", NULL }, { ram_perc, "RAM: %s% | ", NULL },
{ battery_perc, "BAT: %s% | ", "BAT0" },
{ datetime, "%s ", "%F %T" }, { datetime, "%s ", "%F %T" },
}; };