Switched to using BatteryP
This was to enable reading battery status information on a Purism Librem 15.
This commit is contained in:
parent
2bdcdecff5
commit
8df436ae8f
14
.xmobarrc
14
.xmobarrc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue