diff options
| author | Jose A Ortega Ruiz <jao@gnu.org> | 2010-03-30 21:31:29 +0200 | 
|---|---|---|
| committer | Jose A Ortega Ruiz <jao@gnu.org> | 2010-03-30 21:31:29 +0200 | 
| commit | f416907a72738adbbf5bd877e1fa9d91826de6ac (patch) | |
| tree | eaff726648da1d90c656a46f50a38f7e7f335269 /README | |
| parent | 31109fc21a7a93875471f251c8aea201b3df4926 (diff) | |
| download | xmobar-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-- | README | 22 | 
1 files changed, 22 insertions, 0 deletions
@@ -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`  | 
