From 8603ac27e5d3fe8042a30b04a0f1cdb3eadb2965 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}')