summaryrefslogtreecommitdiff
path: root/ar/.config/mpv/script-opts/mdmenu.conf
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-24 20:35:27 +0900
commitc80a54e42b52ce297f0f2f71af23c562832025c7 (patch)
treedcce8bb977a770f473325d48f6f70b21d9818a40 /ar/.config/mpv/script-opts/mdmenu.conf
init
Diffstat (limited to 'ar/.config/mpv/script-opts/mdmenu.conf')
-rw-r--r--ar/.config/mpv/script-opts/mdmenu.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/ar/.config/mpv/script-opts/mdmenu.conf b/ar/.config/mpv/script-opts/mdmenu.conf
new file mode 100644
index 0000000..b8c00ac
--- /dev/null
+++ b/ar/.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