summary refs log tree commit diff
path: root/.config/mpv/mvi/script-opts/image_positioning.conf
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-04-08 13:26:13 +0900
committerRobert Günzler <r@gnzler.io>2026-04-08 13:26:13 +0900
commit4e34cbf9673aeaba252e01df554a0d204e83c5e2 (patch)
treef3eea07d0e2bf1628ce19987c5164577f63ac614 /.config/mpv/mvi/script-opts/image_positioning.conf
parent28db7c76e26c312918959384e02e433f8858de49 (diff)
Automated-commit-by: dots
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '.config/mpv/mvi/script-opts/image_positioning.conf')
-rw-r--r--.config/mpv/mvi/script-opts/image_positioning.conf14
1 files changed, 14 insertions, 0 deletions
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