summaryrefslogtreecommitdiff
path: root/mac/.config/mpv/script-opts/mdmenu.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/mpv/script-opts/mdmenu.conf')
-rw-r--r--mac/.config/mpv/script-opts/mdmenu.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/mac/.config/mpv/script-opts/mdmenu.conf b/mac/.config/mpv/script-opts/mdmenu.conf
new file mode 100644
index 0000000..b8c00ac
--- /dev/null
+++ b/mac/.config/mpv/script-opts/mdmenu.conf
@@ -0,0 +1,13 @@
+# if enabled, dmenu will be embedded inside the mpv instance.
+# on older mpv versions (v0.35.0 and below) depends on
+# [xdo](https://github.com/baskerville/xdo) to get mpv's xwindow id.
+embed=yes
+
+# if enabled, the "current item" (e.g current chapter) will be preselected in dmenu.
+# requires [preselect](https://tools.suckless.org/dmenu/patches/preselect/)
+preselect=no
+
+# command that gets invoked.
+# can be replaced with anything else that's "dmenu compliant" (such as rofi's dmenu mode).
+# arguments are comma separated.
+cmd=dmenu,-i,-l,16