slstatus

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.beauhilton.com/slstatus.git
Log | Files | Refs | README | LICENSE

commit 2bd581a47b8e355a398b87bb82fdcff547b8073a
parent f5f3808f361a4278a60124e0c26721538ea400d2
Author: Aaron Marcher <me@drkhsh.at>
Date:   Wed,  2 May 2018 08:16:21 +0200

battery_state: Unify unknown state with "?" symbol

Diffstat:
Mcomponents/battery.c | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/components/battery.c b/components/battery.c @@ -30,7 +30,6 @@ { "Charging", "+" }, { "Discharging", "-" }, { "Full", "=" }, - { "Unknown", "/" }, }; size_t i; char path[PATH_MAX], state[12]; @@ -89,7 +88,6 @@ } map[] = { { APM_AC_ON, "+" }, { APM_AC_OFF, "-" }, - { APM_AC_UNKNOWN, "/" }, }; fd = open("/dev/apm", O_RDONLY);