From e1c0561add8bd38de7d7686ab16a400f487d546d Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Tue, 26 Mar 2019 07:35:41 +0000 Subject: [PATCH] Adds shortcut for youtube --- qutebrowser/bookmarks/urls | 0 qutebrowser/config.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 qutebrowser/bookmarks/urls diff --git a/qutebrowser/bookmarks/urls b/qutebrowser/bookmarks/urls deleted file mode 100644 index e69de29b..00000000 diff --git a/qutebrowser/config.py b/qutebrowser/config.py index 0e3fc705..780ce7ce 100644 --- a/qutebrowser/config.py +++ b/qutebrowser/config.py @@ -19,9 +19,9 @@ config.set('content.javascript.enabled', True, 'chrome://*/*') config.set('content.javascript.enabled', True, 'qute://*/*') # ,m opens page with mpv -config.bind(',m', 'spawn --detach mpv {url}') +config.bind(',m', 'spawn --detach open-youtube {url}') # ,M hints and oens choice with mpv -config.bind(',M', 'hint links spawn --detach mpv {hint-url}') +config.bind(',M', 'hint links spawn --detach open-youtube {hint-url}') # Opens a url with zathura - this is only really useful if the url is a pdf config.bind(',z', 'hint links spawn --detach zathura {hint-url}')