adds critical charging state to FreeBSDs battery widget
This commit is contained in:
parent
a81435e1be
commit
57bab3542b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue