diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2012-10-12 05:04:18 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2012-10-12 05:04:18 +0200 |
commit | 30902974c1a21990930f302c50e136954aed4c76 (patch) | |
tree | 55654b7d5e3a0f947ce26a590a53ed1abb265428 /readme.md | |
parent | e1a5d4b5f96a421be13935166b566ba061fed806 (diff) | |
download | xmobar-30902974c1a21990930f302c50e136954aed4c76.tar.gz xmobar-30902974c1a21990930f302c50e136954aed4c76.tar.bz2 |
Additional MPRIS2 arguments
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -906,13 +906,22 @@ something like: - Default template: `<artist> - <title>` - Example: - Run Mpris1 "clementine" ["-t", - "<artist> - [<tracknumber>] <title>"] 10 + 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. +- Aliases to `mpris1` +- Requires [dbus] and [text] packages. + To activate, pass `--flags="with_mpris"` during compilation. +- PlayerName: player supporting MPRIS v2 protocol, in lowercase. +- Args: default monitor arguments. +- Variables that can be used with the `-t`/`--template` argument: + `album`, `artist`, `arturl`, `length`, `title`, + `tracknumber`, `composer`, `genre` +- Default template: `<artist> - <title>` +- Example: + + Run Mpris2 "clementine" ["-t", "<artist> - [<composer>] <title>"] 10 ### `Mail Args Alias` |