aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index 0a8712c..b617c52 100644
--- a/README.md
+++ b/README.md
@@ -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.