summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-10-02 11:31:54 +0300
committerAaron Marcher <me@drkhsh.at>2020-11-30 21:23:26 +0100
commit3ac985eb0338773cfb1d1446fc0751f1f2afea94 (patch)
treeb8e7adef20bba2105f1e1432a9243313205e5f29
parent2b0f50d1aaf22e79272df8b3b0fe37f338ea1dae (diff)
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.
-rw-r--r--components/battery.c1
1 files changed, 1 insertions, 0 deletions
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];