diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-11-20 02:57:10 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2022-11-20 02:57:10 +0300 |
commit | ef03c3e6614481154c015487f87cf27a5ed788b7 (patch) | |
tree | b225445a37b5d5071746bed3178f6e92a9a288b3 /README.md | |
parent | 387fd15bf231e1cf38eaa7ad1543aaf911a4325e (diff) | |
download | waybar-mpris-new-fmt.tar.gz waybar-mpris-new-fmt.zip |
Add flag to limit the length of the titlenew-fmt
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -60,6 +60,7 @@ When running, the program will pipe out json in waybar's format. Add something l Usage of ./waybar-mpris: --autofocus Auto switch to currently playing music players. --interpolate Interpolate track position (helpful for players that don't update regularly, e.g mpDris2) + --max-title int Maximum length of title. If the title's longer N-3 characters will be printed and ... will be printed at the end. (default 70) --pause string Pause symbol/text to use. (default "\uf8e3") --play string Play symbol/text to use. (default "▶") --replace Replace existing waybar-mpris if found. When false, new instance will clone the original instances output. @@ -83,6 +84,7 @@ Usage of ./waybar-mpris: * `--autofocus` makes waybar-mpris automatically focus on currently playing music players. * `--position` enables the display of the track position. * `--interpolate` increments the track position every second. This is useful for players (e.g mpDris2) that don't regularly update the position. +* `--max-title` the maximum number of characters before the title cuts off. * `--replace`: By default, new instances will attach to the existing one so that the output is identical. This lets this instance replace any others running. It isn't recommended. * `--send` sends commands to an already running waybar-mpris instance via a unix socket. Commands: * `player-next`: Switch to displaying and controlling next available player. |