From f0c3d466f9769e5eaed672a97c2a2a23d9697f09 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sun, 30 Mar 2025 10:46:20 +0200 Subject: [PATCH] DOCS/man/osc: fix custom button example formatting The examples for each button were rendered in the same line. --- DOCS/man/osc.rst | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/DOCS/man/osc.rst b/DOCS/man/osc.rst index 7b2c65f240..d9c0622870 100644 --- a/DOCS/man/osc.rst +++ b/DOCS/man/osc.rst @@ -603,20 +603,22 @@ Custom Buttons Additional script-opts are available to define custom buttons in ``bottombar`` and ``topbar`` layouts. -.. admonition:: Example to add loop and shuffle buttons +.. admonition:: Example to add loop, shuffle and speed buttons - custom_button_1_content=🔁 - custom_button_1_mbtn_left_command=cycle-values loop-file inf no - custom_button_1_mbtn_right_command=cycle-values loop-playlist inf no + :: - custom_button_2_content=🔀 - custom_button_2_mbtn_left_command=playlist-shuffle + custom_button_1_content=🔁 + custom_button_1_mbtn_left_command=cycle-values loop-file inf no + custom_button_1_mbtn_right_command=cycle-values loop-playlist inf no - custom_button_3_content=⏱ - custom_button_3_mbtn_left_command=add speed 1 - custom_button_3_mbtn_right_command=set speed 1 - custom_button_3_wheel_up_command=add speed 0.25 - custom_button_3_wheel_down_command=add speed -0.25 + custom_button_2_content=🔀 + custom_button_2_mbtn_left_command=playlist-shuffle + + custom_button_3_content=⏱ + custom_button_3_mbtn_left_command=add speed 1 + custom_button_3_mbtn_right_command=set speed 1 + custom_button_3_wheel_up_command=add speed 0.25 + custom_button_3_wheel_down_command=add speed -0.25 Script Commands ~~~~~~~~~~~~~~~