From 57bab3542bab39c89824a084890936d9be3ed5af Mon Sep 17 00:00:00 2001 From: mutlusun Date: Mon, 12 Mar 2018 21:16:22 +0100 Subject: [PATCH] adds critical charging state to FreeBSDs battery widget --- widgets/bat_freebsd.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/widgets/bat_freebsd.lua b/widgets/bat_freebsd.lua index 919ed6b..22e4762 100644 --- a/widgets/bat_freebsd.lua +++ b/widgets/bat_freebsd.lua @@ -30,6 +30,8 @@ local function worker(format, warg) state = "↯" elseif bat_info["State"] == "charging" then state = "+" + elseif bat_info["State"] == "critical charging" then + state = "+" elseif bat_info["State"] == "discharging" then state = "-" else