Full battery indicator - slstatus - status monitor | |
git clone git://git.suckless.org/slstatus | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 3ac985eb0338773cfb1d1446fc0751f1f2afea94 | |
parent 2b0f50d1aaf22e79272df8b3b0fe37f338ea1dae | |
Author: Cem Keylan <[email protected]> | |
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(-) | |
--- | |
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]; |