]> git.wh0rd.org - home.git/commitdiff
mpv: update config settings
authorMike Frysinger <vapier@gentoo.org>
Tue, 9 Jan 2018 03:55:58 +0000 (22:55 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 9 Jan 2018 03:55:58 +0000 (22:55 -0500)
.config/mpv/lua-settings/osc.conf [new file with mode: 0644]
.config/mpv/mpv.conf

diff --git a/.config/mpv/lua-settings/osc.conf b/.config/mpv/lua-settings/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
index a3798b128e892f401a7035a0616a82414bd7b849..9753b5c8d058897d81ca94a3b9d833b534065fd1 100644 (file)
@@ -1,4 +1,5 @@
 # Run `man mpv`.  Command line options go here.
+# OSC options go in lua-settings/osc.conf.
 
 # Start in fullscreen mode by default.
 fullscreen = yes
@@ -7,4 +8,4 @@ fullscreen = yes
 keep-open = yes
 
 # Default volume level.
-volume=80
+volume = 80