From 70aca59491e89a04ab5bc64b5da78bcd47ece0de Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 8 Jan 2018 22:55:58 -0500 Subject: [PATCH] mpv: update config settings --- .config/mpv/lua-settings/osc.conf | 31 +++++++++++++++++++++++++++++++ .config/mpv/mpv.conf | 3 ++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 .config/mpv/lua-settings/osc.conf diff --git a/.config/mpv/lua-settings/osc.conf b/.config/mpv/lua-settings/osc.conf new file mode 100644 index 0000000..7043c87 --- /dev/null +++ b/.config/mpv/lua-settings/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 diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf index a3798b1..9753b5c 100644 --- a/.config/mpv/mpv.conf +++ b/.config/mpv/mpv.conf @@ -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 -- 2.39.5