diff options
Diffstat (limited to 'scripts/mpv-config')
-rwxr-xr-x | scripts/mpv-config | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/mpv-config b/scripts/mpv-config index f7f92f7..7c71b27 100755 --- a/scripts/mpv-config +++ b/scripts/mpv-config @@ -1,7 +1,11 @@ #!/bin/sh set -e -OPTIONS="" +USER_OPTS="$@" +if test -f "$BUILD"/mpv_options ; then + USER_OPTS="$(cat "$BUILD"/mpv_options) $USER_OPTS" +fi +OPTIONS="$USER_OPTS" BUILD="$(pwd)" cd "$BUILD"/mpv |