refactor: update default controls bar and its dispositions

This commit is contained in:
tomasklaen
2022-09-21 14:55:05 +02:00
parent f3d492912a
commit a03fe26f38
2 changed files with 3 additions and 2 deletions

View File

@@ -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,<has_many_audio>audio,<stream>stream-quality,gap,loop-playlist,loop-file,space,speed,space,prev,items,next,shuffle,gap:1,fullscreen
controls=menu,gap,subtitles,<has_many_audio>audio,<stream>stream-quality,gap,space,speed,space,<has_playlist>shuffle,<has_playlist>loop-playlist,loop-file,gap,prev,items,next,gap,fullscreen
controls_size=32
controls_size_fullscreen=40
controls_margin=8

View File

@@ -169,7 +169,7 @@ local options = {
timeline_step = 5,
timeline_chapters_opacity = 0.8,
controls = 'menu,gap,subtitles,<has_many_audio>audio,<stream>stream-quality,gap,space,speed,space,shuffle,loop-playlist,loop-file,gap,prev,items,next,gap,fullscreen',
controls = 'menu,gap,subtitles,<has_many_audio>audio,<stream>stream-quality,gap,space,speed,space,<has_playlist>shuffle,<has_playlist>loop-playlist,loop-file,gap,prev,items,next,gap,fullscreen',
controls_size = 32,
controls_size_fullscreen = 40,
controls_margin = 8,