summary refs log tree commit diff
path: root/.config/mpv/mvi/script-opts/ruler.conf
diff options
context:
space:
mode:
Diffstat (limited to '.config/mpv/mvi/script-opts/ruler.conf')
-rw-r--r--.config/mpv/mvi/script-opts/ruler.conf21
1 files changed, 21 insertions, 0 deletions
diff --git a/.config/mpv/mvi/script-opts/ruler.conf b/.config/mpv/mvi/script-opts/ruler.conf
new file mode 100644
index 0000000..5e6f48d
--- /dev/null
+++ b/.config/mpv/mvi/script-opts/ruler.conf
@@ -0,0 +1,21 @@
+# whether to show the length of the lines between the two points
+show_distance=yes
+# whether to show the coordinates of the two points
+show_coordinates=yes
+# the coordinate space of the text shown. Can be "image", "window", "both"
+coordinates_space=image
+# can be "degrees", "radians", "both", or "no"
+show_angles=degrees
+line_width=2
+dots_radius=3
+font_size=36
+# ranges from 00 (black) to FF (white)
+line_color=33
+# bindings used to set points. The binding to trigger ruler mode can also be used. Comma-separated list
+confirm_bindings=MBTN_LEFT,ENTER
+# bindings used to set points. The binding to trigger ruler mode can also be used. Comma-separated list
+exit_bindings=ESC
+# if yes, the first point will be immediately set at the cursor position when calling 'ruler'
+set_first_point_on_begin=no
+# if yes, the ruler overlay will be immediately cleared when setting the second point
+clear_on_second_point_set=no