osc.lua: move title mbtn script-opts below playlist_next's

Sort mbtn script-opts according to how they are shown to the user in bar
layout instead of how they are defined in osc_init().
This commit is contained in:
Guido Cella
2024-12-12 20:20:58 +01:00
committed by Kacper Michajłow
parent 53554f521b
commit f4a35a0264
2 changed files with 10 additions and 10 deletions

View File

@@ -501,12 +501,6 @@ Configurable Options
The following options configure what commands are run when the buttons are
clicked. ``mbtn_mid`` commands are also triggered with ``shift+mbtn_left``.
``title_mbtn_left_command=script-binding stats/display-page-5``
``title_mbtn_mid_command=show-text ${filename}``
``title_mbtn_right_command=script-binding select/select-playlist; script-message-to osc osc-hide``
``playlist_prev_mbtn_left_command=playlist-prev; show-text ${playlist} 3000``
``playlist_prev_mbtn_mid_command=show-text ${playlist} 3000``
@@ -519,6 +513,12 @@ clicked. ``mbtn_mid`` commands are also triggered with ``shift+mbtn_left``.
``playlist_next_mbtn_right_command=show-text ${playlist} 3000``
``title_mbtn_left_command=script-binding stats/display-page-5``
``title_mbtn_mid_command=show-text ${filename}``
``title_mbtn_right_command=script-binding select/select-playlist; script-message-to osc osc-hide``
``play_pause_mbtn_left_command=cycle pause``
``play_pause_mbtn_mid_command=``