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

2020-11-30 Thread Aaron Marcher

Hi,

thanks for that suggestion. Applied to master.

Regards,
Aaron

On 19-10-02 Wed, Cem Keylan wrote:

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
@@ -52,6 +52,7 @@
} map[] = {
{ "Charging","+" },
{ "Discharging", "-" },
+   { "Full","o" },
};
size_t i;
char path[PATH_MAX], state[12];
--
2.23.0




--
Web: https://drkhsh.at/ or http://drkhsh5rv6pnahas.onion/
Gopher: gopher://drkhsh.at or gopher://drkhsh5rv6pnahas.onion
GPG: 0x7A65E38D55BE96FE
Fingerprint: 4688 907C 8720 3318 0D9F AFDE 7A65 E38D 55BE 96FE



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

2019-10-02 Thread Cem Keylan
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
@@ -52,6 +52,7 @@
} map[] = {
{ "Charging","+" },
{ "Discharging", "-" },
+   { "Full","o" },
};
size_t i;
char path[PATH_MAX], state[12];
-- 
2.23.0