From a38d907959090f02e58fcc7f6062af763ed4b487 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sat, 17 Oct 2020 00:06:31 +0200 Subject: [PATCH] mpv shortcuts in qutebrowser --- configurations/qutebrowser.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configurations/qutebrowser.nix b/configurations/qutebrowser.nix index 48ffbfb7..eee860b2 100644 --- a/configurations/qutebrowser.nix +++ b/configurations/qutebrowser.nix @@ -4,6 +4,12 @@ home-manager.users.charlotte = { ... }: { programs.qutebrowser = { enable = true; + keyBindings = { + normal = { + "x" = "spawn --detach mpv {url}"; + ";x" = "hint links spawn --detach mpv {hint-url}"; + }; + }; extraConfig = '' config.load_autoconfig() '';