Switched to using BatteryP

This was to enable reading battery status information on a Purism Librem 15.
This commit is contained in:
Serĉanto de Scio 2018-02-24 00:45:44 +10:00
parent 2bdcdecff5
commit 8df436ae8f
No known key found for this signature in database
GPG key ID: B41FA6FF04CE4B93

View file

@ -49,7 +49,7 @@ Config {
] 10
-- Battery Monitor
, Run Battery [ "--template" , "BAT: <acstatus>"
, Run BatteryP ["BAT"] [ "--template" , "BAT: <acstatus>"
, "--Low" , "10" -- units: %
, "--High" , "80" -- units: %
, "--low" , "#dc322f"
@ -57,12 +57,12 @@ Config {
, "--high" , "#2aa198"
, "--" -- battery specific options
-- discharging status
, "-o" , "<left>% (<timeleft>)"
-- AC "on" status
, "-O" , "<fc=#2aa198>Charging</fc>"
-- charged status
, "-i" , "<fc=#859900>Charged</fc>"
-- discharging status
, "-o" , "<left>% (<timeleft>)"
-- AC "on" status
, "-O" , "<fc=#2aa198>Charging</fc>"
-- charged status
, "-i" , "<fc=#859900>Charged</fc>"
] 50
-- Read from STDIN