From 18e3848110da0a59843058927ea04b496f5db2a5 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Mon, 25 Nov 2024 13:30:08 +0100 Subject: update mpv config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Robert Günzler --- .config/mpv/mvi/script-opts/image_positioning.conf | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .config/mpv/mvi/script-opts/image_positioning.conf (limited to '.config/mpv/mvi/script-opts/image_positioning.conf') diff --git a/.config/mpv/mvi/script-opts/image_positioning.conf b/.config/mpv/mvi/script-opts/image_positioning.conf new file mode 100644 index 0000000..998ec64 --- /dev/null +++ b/.config/mpv/mvi/script-opts/image_positioning.conf @@ -0,0 +1,14 @@ +# size of the margins with drag-to-pan +drag_to_pan_margin=50 +drag_to_pan_move_if_full_view=no + +# size of the margins with pan-follows-cursor +pan_follows_cursor_margin=50 + +# size of the margins with cursor-centric-zoom +cursor_centric_zoom_margin=50 +# if the borders would show up, move the image +# this makes it not exactly cursor-centric in some cases +cursor_centric_zoom_auto_center=yes +# allow zooming out if the image can already fully fit in the window +cursor_centric_zoom_dezoom_if_full_view=no -- cgit 1.4.1