-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
Description
I have been using MPV as an image viewer for the past 6 months, and all I can say is, I am impressed. It is lightweight, loads images quickly, even navigation between images in the same folder is super fast (does it do buffering?). Moreover, it opens any image format, including WebP.
It is better than any image viewer out there currently.
I propose these changes:
- Add image/* mime associations by default.
- Add input and config associations (see below).
- Mouse drag to pan support.
mpv.conf:
[image]
autofit-larger=80%x80%
force-window=yes
hr-seek=yes
image-display-duration=inf
input-conf=~/.config/mpv/image-input.conf
loop-playlist=inf
loop-file=inf
mute=yes
reset-on-next-file=mute,video-pan-x,video-pan-y,video-zoom
script=/usr/share/mpv/lua/autoload.lua
image-input.conf:
1 repeatable playlist-prev
2 repeatable playlist-next
3 set mute no
` cycle video-unscaled
ENTER cycle pause
DOWN seek -2
UP seek 2
LEFT repeatable playlist-prev
RIGHT repeatable playlist-next
MOUSE_BTN3 add video-zoom 0.1
MOUSE_BTN4 add video-zoom -0.1
MOUSE_BTN7 add ao-volume -5
MOUSE_BTN8 add ao-volume 5
SPACE repeatable playlist-next
TAB set video-zoom 0 ; set video-pan-x 0 ; set video-pan-y 0
a repeatable add video-pan-x 0.05
d repeatable add video-pan-x -0.05
s repeatable add video-pan-y -0.05
w repeatable add video-pan-y 0.05
q seek -1
e seek 1
Reactions are currently unavailable