Adds shortcut for youtube

This commit is contained in:
Jonathan Hodgson 2019-03-26 07:35:41 +00:00
parent b38bd856ad
commit 8603ac27e5
2 changed files with 2 additions and 2 deletions

View file

@ -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}')