From: Mike Frysinger Date: Sat, 15 Aug 2020 18:55:34 +0000 (-0400) Subject: mpv: update settings X-Git-Url: https://git.wh0rd.org/?p=home.git;a=commitdiff_plain;h=4f70e52bf1bb0b684eecf4352280b920767683b0 mpv: update settings --- diff --git a/.config/mpv/lua-settings/osc.conf b/.config/mpv/lua-settings/osc.conf deleted file mode 100644 index 7043c87..0000000 --- a/.config/mpv/lua-settings/osc.conf +++ /dev/null @@ -1,31 +0,0 @@ -# See `man mpv`. On Screen Control settings go here. -# The syntax here is different from the main mpv.conf: -# - Do not use spaces around the = or quotes around the values. - -# Disable the deadzone: Vertical screen space to behave like mouse leaving the -# window. This way cursor at the top of the screen still shows the progress. -deadzonesize=0 - -# How long to keep the OSC visible. (msec) -hidetimeout=3000 -# Set progress bar fade time. (msec) -fadeduration=1000 - -# Use the extended progress bar style (filename/etc...). -layout=bottombar - -# Always show the OSC when the mouse moves. -minmousemove=0 - -# Always show the OSC regardless of window mode. -showwindowed=yes -showfullscreen=yes - -# How tall to make the OSC. Larger means narrower progress bar though. -scalefullscreen=1.3 - -# How transparent to make the OSC. 0=opaque to 255=transparent. -boxalpha=80 - -# Show remaining time instead of total time. -timetotal=no diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index 12d8e3e..d8b6c8e 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -11,4 +11,4 @@ keep-open = yes volume = 80 # The status message. Look for 'Property list' in the man page. -status-msg = "${?sub-text:Subtitle: ${sub-text}\n} ${?pause==yes:(Paused) }${time-pos} / -${playtime-remaining} / ${duration} (${percent-pos}%) x${speed} Vol: ${volume}%${?mute==yes: (Muted)} ${?current-vo:avsync:${avsync}}" +term-status-msg = "${?sub-text:Subtitle: ${sub-text}\n} ${?pause==yes:(Paused) }${time-pos} / -${playtime-remaining} / ${duration} (${percent-pos}%) x${speed} Vol: ${volume}%${?mute==yes: (Muted)} ${?current-vo:avsync:${avsync}}" diff --git a/.config/mpv/script-opts/osc.conf b/.config/mpv/script-opts/osc.conf new file mode 100644 index 0000000..7043c87 --- /dev/null +++ b/.config/mpv/script-opts/osc.conf @@ -0,0 +1,31 @@ +# See `man mpv`. On Screen Control settings go here. +# The syntax here is different from the main mpv.conf: +# - Do not use spaces around the = or quotes around the values. + +# Disable the deadzone: Vertical screen space to behave like mouse leaving the +# window. This way cursor at the top of the screen still shows the progress. +deadzonesize=0 + +# How long to keep the OSC visible. (msec) +hidetimeout=3000 +# Set progress bar fade time. (msec) +fadeduration=1000 + +# Use the extended progress bar style (filename/etc...). +layout=bottombar + +# Always show the OSC when the mouse moves. +minmousemove=0 + +# Always show the OSC regardless of window mode. +showwindowed=yes +showfullscreen=yes + +# How tall to make the OSC. Larger means narrower progress bar though. +scalefullscreen=1.3 + +# How transparent to make the OSC. 0=opaque to 255=transparent. +boxalpha=80 + +# Show remaining time instead of total time. +timetotal=no