module Music where import Xmobar import Mpris import MPD import Monitors import qualified Bottom compMPD = concatMonitor " " mpd autoMPD alt x = altMonitor (Mpris.mpris x) compMPD config cl = if cl == "mpd" then MPD.config else Bottom.config [Run (alt cl)] "|mpris2_mpd_autompd|"