Added mpd status to xmobar
This commit is contained in:
parent
aead92061b
commit
55a12781a0
15
.xmobarrc
15
.xmobarrc
|
@ -1,7 +1,7 @@
|
||||||
Config {
|
Config {
|
||||||
|
|
||||||
-- Appearance
|
-- Appearance
|
||||||
font = "xft:OpenSans:size=10:antialias=true"
|
font = "xft:OpenSans:size=9:antialias=true"
|
||||||
, bgColor = "#073642"
|
, bgColor = "#073642"
|
||||||
, fgColor = "#93a1a1"
|
, fgColor = "#93a1a1"
|
||||||
, position = TopW L 95
|
, position = TopW L 95
|
||||||
|
@ -9,7 +9,7 @@ Config {
|
||||||
-- Layout
|
-- Layout
|
||||||
, sepChar = "%"
|
, sepChar = "%"
|
||||||
, alignSep = "}{"
|
, alignSep = "}{"
|
||||||
, template = "%StdinReader% }{ %multicpu% %coretemp% %cpufreq% | %memory% | %dynnetwork% | %battery% | %YBRK% %uv brisbane% | %date%"
|
, template = "%StdinReader% } %mpd% { %multicpu% %coretemp% %cpufreq% | %memory% | %battery% | %YBRK% %uv brisbane% | %date%"
|
||||||
|
|
||||||
-- Behaviour
|
-- Behaviour
|
||||||
, lowerOnStart = False
|
, lowerOnStart = False
|
||||||
|
@ -77,15 +77,6 @@ Config {
|
||||||
, "--high" , "#dc322f"
|
, "--high" , "#dc322f"
|
||||||
] 36000
|
] 36000
|
||||||
|
|
||||||
-- Network Activity Monitor
|
|
||||||
, Run DynNetwork [ "--template" , "<dev>: <tx>kB/s|<rx>kB/s"
|
|
||||||
, "--Low" , "1000" -- units: kB/s
|
|
||||||
, "--High" , "5000" -- units: kB/s
|
|
||||||
, "--low" , "#2aa198"
|
|
||||||
, "--normal" , "#859900"
|
|
||||||
, "--high" , "#dc322f"
|
|
||||||
] 10
|
|
||||||
|
|
||||||
-- Time and Date Display
|
-- Time and Date Display
|
||||||
, Run Date "<fc=#268bd2>%a %b %_d %H:%M</fc>" "date" 10
|
, Run Date "<fc=#268bd2>%a %b %_d %H:%M</fc>" "date" 10
|
||||||
|
|
||||||
|
@ -95,5 +86,7 @@ Config {
|
||||||
, "--low" , "#859900"
|
, "--low" , "#859900"
|
||||||
, "--high" , "#dc322f"
|
, "--high" , "#dc322f"
|
||||||
] 900
|
] 900
|
||||||
|
-- MPD status
|
||||||
|
, Run MPD ["-t","<artist> - <title> (<album>) <statei> ","--", "-P", ">>", "-Z", "|", "-S", "><"] 10
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue