commit 074f8e301f040e24f0326ba1f786d921d4f1e25b
Author: Cem Keylan <[email protected]>
AuthorDate: Wed Oct 2 11:31:54 2019 +0300
Commit: Aaron Marcher <[email protected]>
CommitDate: Mon Nov 30 18:53:27 2020 +0100
Full battery indicator
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.
diff --git a/LICENSE b/LICENSE
index b6889d2..6f40379 100644
--- a/LICENSE
+++ b/LICENSE
@@ -21,6 +21,7 @@ Copyright 2018 Ian Remmler <[email protected]>
Copyright 2016-2019 Joerg Jung <[email protected]>
Copyright 2019 Ingo Feinerer <[email protected]>
Copyright 2019 Ryan Kes <[email protected]>
+Copyright 2019 Cem Keylan <[email protected]>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
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];