From fe65a9cc87855aa11d1205a70565314549725221 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Sat, 11 Sep 2021 23:58:56 +0800 Subject: [PATCH] Added battery status for laptop. --- config.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.h b/config.h index 175017b..8f0a6a1 100644 --- a/config.h +++ b/config.h @@ -66,6 +66,7 @@ static const char unknown_str[] = "n/a"; static const struct arg args[] = { /* function format argument */ { cpu_perc, " CPU: %s% | ", NULL }, - { ram_perc, "RAM: %s% | ", NULL }, + { ram_perc, "RAM: %s% | ", NULL }, + { battery_perc, "BAT: %s% | ", "BAT0" }, { datetime, "%s ", "%F %T" }, };