[hackers] [slstatus][PATCH] Full battery indicator

From: Cem Keylan <cem_AT_ckyln.com>
Date: Wed, 2 Oct 2019 11:31:54 +0300

I thought slstatus needed a full battery indicator.
When you reach full charge the symbol would change
to a question mark "?" as "Full" was not defined,
now it changes to an "o" instead.
---
 components/battery.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/components/battery.c b/components/battery.c
index 07b6ac1..f2b0f14 100644
--- a/components/battery.c
+++ b/components/battery.c
_AT_@ -52,6 +52,7 @@
 		} map[] = {
 			{ "Charging",    "+" },
 			{ "Discharging", "-" },
+			{ "Full",        "o" },
 		};
 		size_t i;
 		char path[PATH_MAX], state[12];
-- 
2.23.0
Received on Wed Oct 02 2019 - 10:31:54 CEST

This archive was generated by hypermail 2.3.0 : Wed Oct 02 2019 - 10:36:24 CEST