Config
{ font = "xft:Ubuntu Mono:size=14"
, additionalFonts = ["xft:Lato:style=bold"] -- default: []
, borderColor = "#000000"
, border = BottomB
, borderWidth = 2
, bgColor = "black"
, fgColor = "white"
, alpha = 210 -- default: 255
, position = TopSize C 100 50
, textOffset = -1 -- default: -1
, iconOffset = -1 -- default: -1
, lowerOnStart = True
, pickBroadest = False -- default: False
, persistent = True
, hideOnStart = False
, iconRoot = "/usr/local/google/home/rahm/.xmonad/resources" -- default: "."
, allDesktops = True -- default: True
, overrideRedirect = False -- default: True
, sepChar = "%"
, alignSep = "}{"
, template = " %StdinReader% }{ ──── %battery% ──── %date% "
, commands = [
Run Battery [ "--template" , ""
, "--Low" , "10" -- units: %
, "--High" , "80" -- units: %
, "--low" , "darkred"
, "--normal" , "darkorange"
, "--high" , "darkgreen"
, "--" -- battery specific options
-- discharging status
, "-o" , "% - "
-- AC "on" status
, "-O" , "Charging"
-- charged status
, "-i" , "Charged"
] 50,
Run StdinReader
]
}