commit a7dc8be4eeb852b513af37809104e2db7cac7e4a
Author: Cem Keylan <[email protected]>
AuthorDate: Wed Oct 2 11:31:54 2019 +0300
Commit: Aaron Marcher <[email protected]>
CommitDate: Mon Nov 30 21:16:22 2020 +0100
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 0eec587..6f40379 100644
--- a/LICENSE
+++ b/LICENSE
@@ -20,6 +20,8 @@ Copyright 2018-2019 Michael Buch <[email protected]>
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];