From 441cd2ba3671bf5b2b3b7f3380f4c9442cf65dfd Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 18 Sep 2020 13:10:37 +0200 Subject: [PATCH] qutebrowser: Fix ytdl link downloading Fixed the download media (`dm`) option in qutebrowser to download the link that is hinted and not the current page. To download the current page, the keymapping remains the same as before (`dM`). --- qutebrowser/.config/qutebrowser/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/.config/qutebrowser/config.py b/qutebrowser/.config/qutebrowser/config.py index 5003300..5101070 100644 --- a/qutebrowser/.config/qutebrowser/config.py +++ b/qutebrowser/.config/qutebrowser/config.py @@ -103,7 +103,7 @@ config.bind(leader + "m", "hint links spawn umpv {hint-url}") config.bind(leader + "dM", "spawn youtube-dl -o ~/videos/%(title)s.%(ext)s {url}") config.bind( leader + "dm", - "hint --rapid links spawn youtube-dl -o ~/videos/%(title)s.%(ext)s {url}", + "hint --rapid links spawn youtube-dl -o ~/videos/%(title)s.%(ext)s {hint-url}", ) # Use q for quitting a tab (mimicks vim buffer) - qa is used for exiting