summaryrefslogtreecommitdiffhomepage
path: root/README
diff options
context:
space:
mode:
authorJose A Ortega Ruiz <jao@gnu.org>2010-03-30 21:31:29 +0200
committerJose A Ortega Ruiz <jao@gnu.org>2010-03-30 21:31:29 +0200
commitf416907a72738adbbf5bd877e1fa9d91826de6ac (patch)
treeeaff726648da1d90c656a46f50a38f7e7f335269 /README
parent31109fc21a7a93875471f251c8aea201b3df4926 (diff)
downloadxmobar-f416907a72738adbbf5bd877e1fa9d91826de6ac.tar.gz
xmobar-f416907a72738adbbf5bd877e1fa9d91826de6ac.tar.bz2
New (and optional) MPD monitor.
Ignore-this: 405d2dcf63efe90ea243df1c99db8ead darcs-hash:20100330193129-748be-5af6dc8af59ccaf3b71a250b02c76900716008dc.gz
Diffstat (limited to 'README')
-rw-r--r--README22
1 files changed, 22 insertions, 0 deletions
diff --git a/README b/README
index f0eb521..5d0a8ba 100644
--- a/README
+++ b/README
@@ -443,6 +443,28 @@ Monitors have default aliases.
- This monitor requires coretemp module to be loaded in kernel
- Example: `Run CoreTemp ["-t","Temp:\<core0\>|\<core1\>C","-L","40","-H","60","-l","lightblue","-n","gray90","-h","red"] 50`
+
+`MPD Args RefreshRate`
+
+- aliases to `mpd`
+- Args: the argument list (see below). In addition you can provide
+ `-P`, `-S` and `-Z`, with an string argument, to represent the
+ playing, stopped and paused states in the `statei` template field.
+- Variables that can be used with the `-t`/`--template` argument:
+ `bar`, `state`, `statei`, `volume`, `length`
+ `lapsed`, `plength`
+ `name`, `artist`, `composer`, `performer`
+ `album`, `title`, `track`, `file`, `genre`
+- Default template: `MPD: <state>`
+- Example:
+ Run MPD ["-t",
+ "<composer> <title> (<album>) <track>/<plength> <statei> ",
+ "--", "-P", ">>", "-Z", "|", "-S", "><"] 10
+ Note that you need "--" to separate regular monitor options from
+ MPD's specific ones.
+- This monitor will only be compiled if you ask for it using the
+ `with_mpd` flag. It needs libmpd 4.1 or later (available on Hackage).
+
`Mail Args`
- aliases to `Mail`