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