]> git.wh0rd.org - home.git/commitdiff
mpv: update settings
authorMike Frysinger <vapier@gentoo.org>
Sat, 15 Aug 2020 18:55:34 +0000 (14:55 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 15 Aug 2020 18:55:34 +0000 (14:55 -0400)
.config/mpv/lua-settings/osc.conf [deleted file]
.config/mpv/mpv.conf
.config/mpv/script-opts/osc.conf [new file with mode: 0644]

diff --git a/.config/mpv/lua-settings/osc.conf b/.config/mpv/lua-settings/osc.conf
deleted file mode 100644 (file)
index 7043c87..0000000
+++ /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
index 12d8e3e00d7e53102231e0eeb9fda0f68a5fcd07..d8b6c8e0eed56495ddfad4a5a75b65cdc8bcf1da 100644 (file)
@@ -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 (file)
index 0000000..7043c87
--- /dev/null
@@ -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