feat!: reworked opacity options (#680)
These options have been removed: ``` timeline_opacity timeline_chapters_opacity volume_opacity speed_opacity menu_opacity menu_parent_opacity top_bar_title_opacity window_border_opacity curtain_opacity ``` and replaced with one comma delimited `opacity` list to override all of the above and some new default opacity values. Example: ``` opacity=timeline=0.5,title=0.5 ``` List of opacity values available for override and their current defaults: ``` timeline=.9 position=1 # timeline progress or line chapters=0.8 slider=0.9 # background of all sliders, such as volume slider_gauge=1 # value bar of all sliders speed=0.6 menu=1 submenu=0.4 border=1 # window border title=1 # window title tooltip=1 # tooltip background thumbnail=1 # thumbnail border curtain=0.5 ``` closes #584, closes #636, closes #675
This commit is contained in:
@@ -7,14 +7,10 @@ timeline_size=40
|
||||
# Comma separated states when element should always be fully visible.
|
||||
# Available: paused, audio, image, video, idle, windowed, fullscreen
|
||||
timeline_persistency=paused
|
||||
# Timeline opacity
|
||||
timeline_opacity=0.9
|
||||
# Top border of background color to help visually separate timeline from video
|
||||
timeline_border=1
|
||||
# When scrolling above timeline, wheel will seek by this amount of seconds
|
||||
timeline_step=5
|
||||
# Opacity of chapter indicators in timeline, 0 to disable
|
||||
timeline_chapters_opacity=0.8
|
||||
# Render cache indicators for streaming content
|
||||
timeline_cache=yes
|
||||
|
||||
@@ -92,13 +88,11 @@ controls_persistency=
|
||||
# Where to display volume controls: none, left, right
|
||||
volume=right
|
||||
volume_size=40
|
||||
volume_opacity=0.9
|
||||
volume_border=1
|
||||
volume_step=1
|
||||
volume_persistency=
|
||||
|
||||
# Playback speed widget: mouse drag or wheel to change, click to reset
|
||||
speed_opacity=0.6
|
||||
speed_step=0.1
|
||||
speed_step_is_factor=no
|
||||
speed_persistency=
|
||||
@@ -106,8 +100,6 @@ speed_persistency=
|
||||
# Controls all menus, such as context menu, subtitle loader/selector, etc
|
||||
menu_item_height=36
|
||||
menu_min_width=260
|
||||
menu_opacity=1
|
||||
menu_parent_opacity=0.4
|
||||
# Determines if `/` or `ctrl+f` is required to activate the search, or if typing
|
||||
# any text is sufficient.
|
||||
# When enabled, you can no longer toggle a menu off with the same key that opened it, if the key is a unicode character.
|
||||
@@ -128,14 +120,12 @@ top_bar_alt_title=
|
||||
# `toggle` => toggle the top bar title text between main and alt by clicking
|
||||
# the top bar, or calling `toggle-title` binding
|
||||
top_bar_alt_title_place=below
|
||||
top_bar_title_opacity=0.8
|
||||
# Flash top bar when any of these file types is loaded. Available: audio,image,video
|
||||
top_bar_flash_on=video,audio
|
||||
top_bar_persistency=
|
||||
|
||||
# Window border drawn in no-border mode
|
||||
window_border_size=1
|
||||
window_border_opacity=0.8
|
||||
|
||||
# If there's no playlist and file ends, load next file in the directory
|
||||
# Requires `keep-open=yes` in `mpv.conf`.
|
||||
@@ -158,6 +148,11 @@ font_scale=1
|
||||
text_border=1.2
|
||||
# Border radius of buttons, menus, and all other rectangles
|
||||
border_radius=2
|
||||
# A comma delimited list of opacity overrides for various UI element backgrounds and shapes. Text is always 100%.
|
||||
# Example: opacity=timeline=0.5,title=0.5
|
||||
# Defaults: timeline=.9,position=1,chapters=0.8,slider=0.9,slider_gauge=1,speed=0.6,
|
||||
# menu=1,submenu=0.4,border=1,title=1,tooltip=1,thumbnail=1,curtain=0.5
|
||||
opacity=
|
||||
# Use a faster estimation method instead of accurate measurement
|
||||
# setting this to `no` might have a noticeable impact on performance, especially in large menus.
|
||||
text_width_estimation=yes
|
||||
@@ -187,8 +182,6 @@ buffered_time_threshold=60
|
||||
autohide=no
|
||||
# Can be: none, flash, static, manual (controlled by flash-pause-indicator and decide-pause-indicator commands)
|
||||
pause_indicator=flash
|
||||
# Screen dim when stuff like menu is open, 0 to disable
|
||||
curtain_opacity=0.5
|
||||
# Sizes to list in stream quality menu
|
||||
stream_quality_options=4320,2160,1440,1080,720,480,360,240,144
|
||||
# Types to identify media files
|
||||
|
Reference in New Issue
Block a user