diff options
author | jao <jao@gnu.org> | 2018-12-22 02:50:31 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2018-12-22 02:50:31 +0000 |
commit | 80c57d09cab1eaedc09b85d7c21e629e3a6a796f (patch) | |
tree | 8832d47a418a89be1977da05a4011f41d1c73bba /src/lib/MPD.hs | |
parent | ecaa36aeb057cad86766b9ce537d0977e98f59e2 (diff) | |
download | xmobar-config-80c57d09cab1eaedc09b85d7c21e629e3a6a796f.tar.gz xmobar-config-80c57d09cab1eaedc09b85d7c21e629e3a6a796f.tar.bz2 |
trayer support and refactorings
Diffstat (limited to 'src/lib/MPD.hs')
-rw-r--r-- | src/lib/MPD.hs | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/lib/MPD.hs b/src/lib/MPD.hs index da0f954..3a30699 100644 --- a/src/lib/MPD.hs +++ b/src/lib/MPD.hs @@ -15,12 +15,8 @@ autoMPD = AutoMPD [ "-T", "160", "-E", "...", "-W", "10", "-t" \<fc=burlywood4><composer></fc> <date></fn>"] -config p = (Bottom.config [(Run mpd), (Run autoMPD)] p) { - template = "|kbd||default:Master| |default:Capture| \ - \|mpd| |autompd| {} |mbox| \ - \|EGPH| \ - \|diskio| |disku| · |bright| · |coretemp| \ - \|memory| · |uptime| |b0| " - , additionalFonts = ["xft:Hack-7"] +config p = (Bottom.config [Run mpd, Run autoMPD] "|mpd| |autompd|" p) + { + additionalFonts = ["xft:Hack-7"] , textOffsets = [defaultHeight - 7] } |