From 8df436ae8fcf9b2f39e473627689ae75a837b2d1 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Sat, 24 Feb 2018 00:45:44 +1000 Subject: [PATCH] Switched to using BatteryP This was to enable reading battery status information on a Purism Librem 15. --- .xmobarrc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.xmobarrc b/.xmobarrc index 61cecb4..cfcb414 100644 --- a/.xmobarrc +++ b/.xmobarrc @@ -49,7 +49,7 @@ Config { ] 10 -- Battery Monitor - , Run Battery [ "--template" , "BAT: " + , Run BatteryP ["BAT"] [ "--template" , "BAT: " , "--Low" , "10" -- units: % , "--High" , "80" -- units: % , "--low" , "#dc322f" @@ -57,12 +57,12 @@ Config { , "--high" , "#2aa198" , "--" -- battery specific options - -- discharging status - , "-o" , "% ()" - -- AC "on" status - , "-O" , "Charging" - -- charged status - , "-i" , "Charged" + -- discharging status + , "-o" , "% ()" + -- AC "on" status + , "-O" , "Charging" + -- charged status + , "-i" , "Charged" ] 50 -- Read from STDIN