diff options
author | Artem Tarasov <lomereiter@gmail.com> | 2011-12-21 19:20:10 +0400 |
---|---|---|
committer | Artem Tarasov <lomereiter@gmail.com> | 2011-12-21 19:20:10 +0400 |
commit | 7c39f40827bd7cc247d28ef39b10f30c3f7c36f2 (patch) | |
tree | 44ad9f4afd4f0f68839d17e3e996f05183f75ae0 /README | |
parent | 47f49f08195b2b39333ea667fd4587bebcec0816 (diff) | |
download | xmobar-7c39f40827bd7cc247d28ef39b10f30c3f7c36f2.tar.gz xmobar-7c39f40827bd7cc247d28ef39b10f30c3f7c36f2.tar.bz2 |
added description of mpris plugin
Diffstat (limited to 'README')
-rw-r--r-- | README | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -115,6 +115,10 @@ Otherwise, you'll need to install them yourself. `with_mpd` : Enables support for the [MPD] daemon. Requires the [libmpd] package. +`with_mpris` +: Enables support for MPRIS v1/v2 protocol. + Requires the [dbus-core] and [text] packages. + `with_inotify` : Support for inotify in modern linux kernels. This option is needed for the MBox and Mail plugins to work. Requires the [hinotify] @@ -631,6 +635,24 @@ Monitors have default aliases. "<composer> <title> (<album>) <track>/<plength> <statei> ", "--", "-P", ">>", "-Z", "|", "-S", "><"] 10 +`Mpris1 PlayerName Args RefreshRate` +- Aliases to `mpris1` +- Requires [dbus-core] and [text] packages. + To activate, pass `--flags="with_mpris"` during compilation. +- PlayerName: player supporting MPRIS v1 protocol, in lowercase. +- Args: default monitor arguments. +- Variables that can be used with the `-t`/`--template` argument: + `album`, `artist`, `arturl`, `length`, `title`, `tracknumber` +- Default template: `<artist> - <title>` +- Example: + + Run Mpris1 "clementine" ["-t", + "<artist> - [<tracknumber>] <title>"] 10 + +`Mpris2 PlayerName Args RefreshRate` +- Just like Mpris1. + Supposed to be used with mediaplayers which support MPRIS v2. + `Mail Args Alias` - Args: list of maildirs in form |