summaryrefslogtreecommitdiffhomepage
path: root/src/Plugins/Monitors/Mpris.hs
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2012-10-12 05:04:18 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2012-10-12 05:04:18 +0200
commit30902974c1a21990930f302c50e136954aed4c76 (patch)
tree55654b7d5e3a0f947ce26a590a53ed1abb265428 /src/Plugins/Monitors/Mpris.hs
parente1a5d4b5f96a421be13935166b566ba061fed806 (diff)
downloadxmobar-30902974c1a21990930f302c50e136954aed4c76.tar.gz
xmobar-30902974c1a21990930f302c50e136954aed4c76.tar.bz2
Additional MPRIS2 arguments
Diffstat (limited to 'src/Plugins/Monitors/Mpris.hs')
-rw-r--r--src/Plugins/Monitors/Mpris.hs7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Plugins/Monitors/Mpris.hs b/src/Plugins/Monitors/Mpris.hs
index b899a16..98b4c0f 100644
--- a/src/Plugins/Monitors/Mpris.hs
+++ b/src/Plugins/Monitors/Mpris.hs
@@ -66,12 +66,15 @@ instance MprisVersion MprisVersion2 where
["org.mpris.MediaPlayer2.Player", "Metadata"]
fieldsList MprisVersion2 = [ "xesam:album", "xesam:artist", "mpris:artUrl"
- , "mpris:length", "xesam:title", "xesam:trackNumber"
+ , "mpris:length", "xesam:title",
+ "xesam:trackNumber", "xesam:composer",
+ "xesam:genre"
]
mprisConfig :: IO MConfig
mprisConfig = mkMConfig "<artist> - <title>"
- [ "album", "artist", "arturl", "length" , "title", "tracknumber"
+ [ "album", "artist", "arturl", "length"
+ , "title", "tracknumber" , "composer", "genre"
]
dbusClient :: DC.Client