Full battery indicator - slstatus - status monitor
(HTM) git clone git://git.suckless.org/slstatus
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 3ac985eb0338773cfb1d1446fc0751f1f2afea94
(DIR) parent 2b0f50d1aaf22e79272df8b3b0fe37f338ea1dae
(HTM) Author: Cem Keylan <cem@ckyln.com>
Date: Wed, 2 Oct 2019 11:31:54 +0300
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.
Diffstat:
M components/battery.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/components/battery.c b/components/battery.c
@@ -52,6 +52,7 @@
} map[] = {
{ "Charging", "+" },
{ "Discharging", "-" },
+ { "Full", "o" },
};
size_t i;
char path[PATH_MAX], state[12];