From a03fe26f381e2b6e022ba97c2d2269fa0ead3d4d Mon Sep 17 00:00:00 2001 From: tomasklaen Date: Wed, 21 Sep 2022 14:55:05 +0200 Subject: [PATCH] refactor: update default controls bar and its dispositions --- script-opts/uosc.conf | 3 ++- scripts/uosc.lua | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/script-opts/uosc.conf b/script-opts/uosc.conf index 4176b1d..1eb16a8 100644 --- a/script-opts/uosc.conf +++ b/script-opts/uosc.conf @@ -38,6 +38,7 @@ timeline_chapters_opacity=0.8 # `fullscreen` - toggle fullscreen # `loop-playlist` - button to toggle playlist looping # `loop-file` - button to toggle current file looping +# `shuffle` - toggle playlist shuffle # `speed[:{scale}]` - display speed slider, [{scale}] - factor of controls_size, default: 1.3 # `command:{icon}:{command}` - button that executes a {command} when pressed # `toggle:{icon}:{prop}` - button that toggles mpv property @@ -80,7 +81,7 @@ timeline_chapters_opacity=0.8 # fullscreen = cycle:crop_free:fullscreen:no/yes=fullscreen_exit!?Fullscreen # loop-playlist = cycle:repeat:loop-playlist:no/inf!?Loop playlist # toggle:{icon}:{prop} = cycle:{icon}:{prop}:no/yes! -controls=menu,gap,subtitles,audio,stream-quality,gap,loop-playlist,loop-file,space,speed,space,prev,items,next,shuffle,gap:1,fullscreen +controls=menu,gap,subtitles,audio,stream-quality,gap,space,speed,space,shuffle,loop-playlist,loop-file,gap,prev,items,next,gap,fullscreen controls_size=32 controls_size_fullscreen=40 controls_margin=8 diff --git a/scripts/uosc.lua b/scripts/uosc.lua index 3fed2cf..0c720e0 100644 --- a/scripts/uosc.lua +++ b/scripts/uosc.lua @@ -169,7 +169,7 @@ local options = { timeline_step = 5, timeline_chapters_opacity = 0.8, - controls = 'menu,gap,subtitles,audio,stream-quality,gap,space,speed,space,shuffle,loop-playlist,loop-file,gap,prev,items,next,gap,fullscreen', + controls = 'menu,gap,subtitles,audio,stream-quality,gap,space,speed,space,shuffle,loop-playlist,loop-file,gap,prev,items,next,gap,fullscreen', controls_size = 32, controls_size_fullscreen = 40, controls_margin = 8,