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