update modernz

This commit is contained in:
2026-03-21 15:12:28 -07:00
parent 69dc1a8142
commit 939763ccda
145 changed files with 75308 additions and 30 deletions

View File

@@ -1,17 +1,27 @@
# Language and display
# set language (for available options, see: https://github.com/Samillion/ModernZ/blob/main/docs/TRANSLATIONS.md)
language=en
# set layout: "modern" or "modern-compact"
layout=modern
# set icon theme. accepts fluent or material
icon_theme=material
# set icon style. accepts mixed, filled, outline
icon_style=mixed
# font for the OSC (default: mpv-osd-symbols or the one set in mpv.conf)
font=mpv-osd-symbols
# show mpv logo when idle
idlescreen=yes
# show OSC window top bar: "auto", "yes", or "no" (borderless/fullscreen)
window_top_bar=auto
# show window controls in fullscreen
windowcontrols_fullscreen=yes
# show OSC when windowed
showwindowed=yes
# show OSC when fullscreen
showfullscreen=yes
# show OSC when a select menu is open
showonselect=no
# show OSC when paused
showonpause=yes
# disable OSC hide timeout when paused
@@ -22,22 +32,24 @@ greenandgrumpy=no
# OSC behaviour and scaling
# time (in ms) before OSC hides if no mouse movement
hidetimeout=1500
# if seeking should reset the hidetimeout
seek_resets_hidetimeout=yes
# fade-out duration (in ms), set to 0 for no fade
fadeduration=200
# whether to enable fade-in effect
fadein=no
# minimum mouse movement (in pixels) required to show OSC
minmousemove=0
# show OSC only when hovering at the bottom
bottomhover=yes
# height of hover zone for bottomhover (in pixels)
# mode for showing OSC/WC on mouse move: always, zones, independent
zones_hover_mode=always
# height of the bottom hover zone (in pixels)
bottomhover_zone=130
# height of the top hover zone (in pixels)
tophover_zone=130
# show OSC when seeking
osc_on_seek=no
# show OSC on start of every file
osc_on_start=no
osc_on_seek=yes
# show OSC/window controls on start of every file (no, bottom, top, both)
osc_on_start=both
# keep OSC visible if mouse cursor is within OSC boundaries
osc_keep_with_cursor=yes
# pause video while seeking with mouse move (on button hold)
mouse_seek_pause=yes
# force show seekbar tooltip on mouse drag, even if not hovering seekbar
@@ -71,8 +83,8 @@ show_chapter_title=yes
# format for chapter display on seekbar hover (set to "no" to disable)
chapter_fmt=%s
# show total time instead of remaining time
timetotal=yes
# show current time instead of remaining time
timecurrent=yes
# show timecodes with milliseconds
timems=no
# use the Unicode minus sign in remaining time
@@ -83,31 +95,47 @@ time_format=dynamic
time_font_size=16
# tooltips font size
tooltip_font_size=14
# speed button font size
speed_font_size=16
# Title bar settings
# show window title in borderless/fullscreen mode
window_title=no
show_window_title=no
# same as title but for window_top_bar
window_title=${media-title}
# window title font size
window_title_font_size=26
# show window controls (close, minimize, maximize) in borderless/fullscreen
window_controls=yes
# same as title but for window_top_bar
# windowcontrols_title=${media-title}
# Subtitle display settings
# Subtitle and OSD display settings
# IMPORTANT: It is recommended to add the following
# in your mpv.conf, to circumvent subtitle or OSD
# bad positioning when watch later options are used
# watch-later-options-remove=sub-pos
# watch-later-options-remove=osd-margin-y
# raise subtitles above the OSC when shown
raise_subtitles=yes
# amount by which subtitles are raised when the OSC is shown (in pixels)
raise_subtitle_amount=125
sub_margins=yes
# adjust OSD to not overlap with OSC
osd_margins=no
# update margins dynamically with OSC visibility
dynamic_margins=yes
# Buttons display and functionality
# show the subtitles menu button
subtitles_button=yes
# show the audio tracks menu button
audio_tracks_button=yes
# show the jump backward and forward buttons
jump_buttons=yes
# change the jump amount in seconds
jump_amount=1
# change the jump amount in seconds when right-clicking jump buttons and shift-clicking chapter skip buttons
jump_more_amount=5
jump_amount=10
# change the jump amount in seconds on right click
jump_more_amount=60
# show different icon when jump_amount is set to 5, 10, or 30
jump_icon_number=yes
# seek mode for jump buttons
# seek mode for jump buttons: "relative" or "exact"
jump_mode=relative
# enable continuous jumping when holding down seek buttons
jump_softrepeat=yes
@@ -122,26 +150,26 @@ track_nextprev_buttons=yes
volume_control=yes
# volume scale type: "linear" or "logarithmic"
volume_control_type=linear
# show playlist button: Left-click for simple playlist, Right-click for interactive playlist
# show playlist button
playlist_button=yes
# hide playlist button when no playlist exists
hide_empty_playlist_button=yes
hide_empty_playlist_button=no
# gray out the playlist button when no playlist exists
gray_empty_playlist_button=yes
gray_empty_playlist_button=no
# show download button on web videos (requires yt-dlp and ffmpeg)
download_button=yes
# default download directory for videos (https://mpv.io/manual/master/#paths)
download_path=~~desktop/mpv
# show screenshot button
screenshot_button=no
# flag for screenshot button: "subtitles", "video", "window", "each-frame"
# screenshot_flag=subtitles
screenshot_button=yes
# show window on top button
ontop_button=yes
# show loop button
loop_button=no
# show shuffle button
shuffle_button=no
# show speed control button
speed_button=no
# speed change amount per click
@@ -153,7 +181,7 @@ info_button=yes
# show fullscreen toggle button
fullscreen_button=yes
# enable looping by right-clicking pause
# enable loop with mouse actions on pause button
loop_in_pause=yes
# force buttons to always be active. can add: playlist_prev,playlist_next
@@ -223,10 +251,14 @@ thumbnail_border_outline=#363A4F
fade_alpha=130
# blur strength for the OSC alpha fade. caution: high values can take a lot of CPU time to render
fade_blur_strength=100
# use with "fade_blur_strength=0" to create a transparency box
fade_transparency_strength=0
# alpha of the window title bar (0 to disable)
window_fade_alpha=100
# blur strength for the window title bar. caution: high values can take a lot of CPU time to render
window_fade_blur_strength=100
# use with "window_fade_blur_strength=0" to create a transparency box
window_fade_transparency_strength=0
# width of the thumbnail border (for thumbfast)
thumbnail_border=3
# rounded corner radius for thumbnail border (0 to disable)
@@ -259,6 +291,9 @@ seekrangealpha=150
livemarkers=yes
# use keyframes when dragging the seekbar
seekbarkeyframes=no
# rounded corners seekbar slider
slider_rounded_corners=yes
# top chapter nibbles above seekbar
nibbles_top=yes
# bottom chapter nibbles below seekbar
@@ -307,8 +342,6 @@ time_codes_height=35
time_codes_centered_height=57
# tooltip height position offset
tooltip_height_offset=2
# if tooltip contains many characters, it is moved to the left by offset
tooltip_left_offset=5
# portrait window width trigger to move some elements
portrait_window_trigger=1000
# hide volume bar trigger window width
@@ -340,6 +373,10 @@ vol_ctrl_mbtn_right_command=script-binding select/select-audio-device; script-me
vol_ctrl_wheel_down_command=no-osd add volume -5
vol_ctrl_wheel_up_command=no-osd add volume 5
# volume bar mouse actions
volumebar_wheel_down_command=osd-msg add volume -5
volumebar_wheel_up_command=osd-msg add volume 5
# audio button mouse actions
audio_track_mbtn_left_command=script-binding select/select-aid; script-message-to modernz osc-hide
audio_track_mbtn_mid_command=cycle audio down
@@ -382,3 +419,6 @@ fullscreen_mbtn_right_command=cycle window-maximized
# info button mouse actions
info_mbtn_left_command=script-binding stats/display-page-1-toggle
# screenshot button mouse actions
screenshot_mbtn_left_command=osd-msg screenshot video