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>2024-11-25 13:30:08 +0100
committerRobert Günzler <r@gnzler.io>2024-11-25 13:58:25 +0100
commit18e3848110da0a59843058927ea04b496f5db2a5 (patch)
treed54e7e1ab025d61507a0b1c3523c08abf400575d /.config/mpv/mvi/script-opts/image_positioning.conf
parent8f29be993dad465c1bb108462dc1bd63706649a5 (diff)
update mpv config
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