diff options
| author | Robert Günzler <r@gnzler.io> | 2020-12-03 12:56:51 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2020-12-07 19:28:05 +0100 |
| commit | 0eb11ed2c3dc235349b87d20bf657f2fb9729994 (patch) | |
| tree | ceba665d591328bb47418ab82bb0de31abff98e5 /.config/mvi/mpv.conf | |
| parent | e93cee56264c7e1d07b422d66430d996fd8b0c40 (diff) | |
Add bin/mvi and config; mpv-based image viewer
Diffstat (limited to '.config/mvi/mpv.conf')
| -rw-r--r-- | .config/mvi/mpv.conf | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/.config/mvi/mpv.conf b/.config/mvi/mpv.conf new file mode 100644 index 0000000..1032b0e --- /dev/null +++ b/.config/mvi/mpv.conf @@ -0,0 +1,51 @@ +gpu-context=wayland +autofit-larger=x90% + +## IMAGE +# classic opengl-hq parameter, change at will +scale=spline36 +cscale=spline36 +dscale=mitchell +dither-depth=auto +correct-downscaling +sigmoid-upscaling +# debanding seems rarely useful with images +#deband +# dark grey background instead of pure black +background=0.2 + +## MISC +mute=yes +# the osc is mostly useful for videos +osc=no +# don't try to autoload subtitles or audio files +sub-auto=no +audio-file-auto=no +# get rid of the useless V: 00:00:00 / 00:00:00 line +term-status-msg= + +# replace mpv with mvi in the window title +title="${?media-title:${media-title}}${!media-title:No file} - mvi" + +# don't slideshow by default +image-display-duration=inf +# loop files in case of webms or gifs +loop-file=inf +# and loop the whole playlist +loop-playlist=inf + +# you need this if you plan to use drag-to-pan or pan-follows-cursor with MOUSE_LEFT +window-dragging=no + +#according to haasn, aspect ratio info for PNG and JPG is "universally bust" +[extension.png] +video-aspect-override=no + +[extension.jpg] +video-aspect-override=no + +[extension.jpeg] +profile=extension.jpg + +[silent] +msg-level=all=no |