.xmobarrc
1 Config { overrideRedirect = False 2 , font = "xft:iosevka-9" 3 , bgColor = "#24283b" 4 , fgColor = "#f8f8f2" 5 , position = TopW L 100 6 , commands = [ Run Weather "EGPF" 7 [ "--template", "<weather> <tempF>°F" 8 , "-L", "40" 9 , "-H", "80" 10 , "--low" , "lightblue" 11 , "--normal", "#f8f8f2" 12 , "--high" , "red" 13 ] 36000 14 , Run Cpu 15 [ "-L", "3" 16 , "-H", "50" 17 , "--high" , "red" 18 , "--normal", "green" 19 ] 10 20 , Run Memory ["--template", "Mem: <usedratio>%"] 10 21 , Run Swap [] 10 22 , Run Date "%a %Y-%m-%d <fc=#8be9fd>%H:%M</fc>" "date" 10 23 , Run Battery 24 [ "--template", "<acstatus>" 25 , "--Low" , "10" 26 , "--High" , "80" 27 , "--low" , "red" 28 , "--normal" , "orange" 29 , "--high" , "green" 30 31 , "--" -- battery specific options 32 -- Discharging status 33 , "-o" , "<left>% (<timeleft>)" 34 -- Charging status 35 , "-O" , "<fc=#dAA520>Charging</fc>" 36 , "-i" , "<fc=#eeeeee>Charged</fc>" 37 ] 50 38 , Run XMonadLog 39 ] 40 , sepChar = "%" 41 , alignSep = "}{" 42 , template = "%XMonadLog% }{ %cpu% | %memory% * %swap% | %EGPF% | %date% | %battery%" 43 }