summaryrefslogtreecommitdiffhomepage
path: root/readme.md
diff options
context:
space:
mode:
authorDuncan Burke <duncankburke@gmail.com>2014-12-14 17:14:49 +1100
committerDuncan Burke <duncankburke@gmail.com>2014-12-15 15:29:58 +1100
commit87c8c13bf4346ba5d4e42684530e6642cdb534ba (patch)
tree5ed246a6632e7671467db53941f3e72a303fb874 /readme.md
parent0cae5039d549ee757bcf382c46403335d05aa047 (diff)
downloadxmobar-87c8c13bf4346ba5d4e42684530e6642cdb534ba.tar.gz
xmobar-87c8c13bf4346ba5d4e42684530e6642cdb534ba.tar.bz2
MPD: add a new template variable 'flags'
Displays playback flags in the style of ncmpcpp.
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index 1176401..a49635f 100644
--- a/readme.md
+++ b/readme.md
@@ -1063,6 +1063,7 @@ more than one battery.
`bar`, `vbar`, `ipat`, `state`, `statei`, `volume`, `length`,
`lapsed`, `remaining`,
`plength` (playlist length), `ppos` (playlist position),
+ `flags` (ncmpcpp-style playback mode),
`name`, `artist`, `composer`, `performer`,
`album`, `title`, `track`, `file`, `genre`
- Default template: `MPD: <state>`
@@ -1070,7 +1071,7 @@ more than one battery.
MPD's specific ones):
Run MPD ["-t",
- "<composer> <title> (<album>) <track>/<plength> <statei> ",
+ "<composer> <title> (<album>) <track>/<plength> <statei> [<flags>]",
"--", "-P", ">>", "-Z", "|", "-S", "><"] 10
### `Mpris1 PlayerName Args RefreshRate`