From 737dac124c75fed15b977fbe105514c8fc48f259 Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Mon, 6 Nov 2023 13:53:42 +0100 Subject: [PATCH] Bindings. --- .config/qutebrowser/config.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index b5cea8e..06d3362 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -86,3 +86,22 @@ with config.pattern("https://piped.cronyakatsuki.xyz/*") as s: c.aliases = config.get("aliases") c.aliases["buku"] = "spawn --userscript buku" +##-- Bindings --## +# launch with mpv +config.bind(",m", "spawn mpv {url}") +config.bind(",M", "hint links spawn mpv {hint-url}") + +# buku bundings +config.bind("b", "buku open") +config.bind(",ba", "buku add") +config.bind(",be", "buku edit") +config.bind(",bd", "buku delete") + +# yt-dlp +config.bind(",y", "spawn --userscript yt-dlp") +config.bind(",Y", "hint links userscript yt-dlp") + +# search current selection +config.bind(",f", "open {primary}") +config.bind(",F", "open --tab {primary}") +