aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-05-20 16:15:49 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-05-20 16:15:49 +0300
commit13347d79fd48d2f30b819ce1631bbd35658f3331 (patch)
tree67a2e2ac800e765dd5cc69eaeb2b73526a1470d0 /dotfiles
parenta5c47661ab4003e9b7221ac87a521ff361d37ec6 (diff)
downloadswayrice-13347d79fd48d2f30b819ce1631bbd35658f3331.tar.gz
swayrice-13347d79fd48d2f30b819ce1631bbd35658f3331.zip
mpv: add keybinding to show chapter list
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.config/mpv/input.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/dotfiles/.config/mpv/input.conf b/dotfiles/.config/mpv/input.conf
index 87aa9d1..56455c4 100644
--- a/dotfiles/.config/mpv/input.conf
+++ b/dotfiles/.config/mpv/input.conf
@@ -207,3 +207,5 @@ s cycle sub
S cycle sub down
a cycle audio
A cycle audio down
+
+c script-message osc-chapterlist 3; show-text "${osd-ass-cc/0}{\\an9}${osd-ass-cc/1}${chapter}"