From f416907a72738adbbf5bd877e1fa9d91826de6ac Mon Sep 17 00:00:00 2001 From: Jose A Ortega Ruiz Date: Tue, 30 Mar 2010 21:31:29 +0200 Subject: New (and optional) MPD monitor. Ignore-this: 405d2dcf63efe90ea243df1c99db8ead darcs-hash:20100330193129-748be-5af6dc8af59ccaf3b71a250b02c76900716008dc.gz --- README | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'README') 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:\|\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: ` +- Example: + Run MPD ["-t", + " (<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` -- cgit v1.2.3