dotfiles/.xmobarrc

37 lines
1.4 KiB
Haskell

-- -*- mode: haskell -*-
-- vi: set ft=haskell :
Config { font = "xft:Iosevka:size=12:antialias=true"
, additionalFonts = ["xft:FontAwesome-10"]
, bgColor = "#1d1f21"
, fgColor = "#c5c8c6"
, position = Top
, border = NoBorder
, commands =
[ Run UnsafeStdinReader
, Run Date "%F (%a) %T" "date" 10
, Run Battery [ "--template", "batt: <acstatus>"
, "--Low", "10"
, "--High", "80"
, "--low", "#cc6666"
, "--normal", "#c5c8c6"
, "--high", "#b5bd68"
, "--" -- battery specific options
-- discharging status
, "-o" , "<left>% (<timeleft>)"
-- AC "on" status
, "-O" , "<fc=#b5bd68>Charging</fc>"
-- charged status
, "-i" , "<fc=#81a2be>Charged</fc>"] 60
-- , Run MPD ["-t", "<state>: <title> by <artist>"] 10
]
, sepChar = "%"
, alignSep = "}{"
, template = " %UnsafeStdinReader% }{ %battery% | %date% "
}
-- , Run MPD ["-t",
-- "<title> (<album>) <track>/<plength> <statei> [<flags>]",
-- "--", "-P", ">>", "-Z", "|", "-S", "><"] 10