[QB] add format for peertube

This commit is contained in:
Gregory Trolliet 2020-06-07 18:07:51 +02:00
parent ad1a5578b5
commit e820da8d98

View file

@ -16,10 +16,10 @@ config.bind('w', 'set-cmd-text -s :open -t', mode='normal')
config.bind('W', 'set-cmd-text -s :open -t {url:pretty}', mode='normal')
config.bind('Fy', 'hint links yank-primary', mode='normal')
config.bind('yy', 'yank -s', mode='normal')
config.bind('Ev', 'spawn --detach mpv --ytdl-format=244+bestaudio/243+bestaudio/242+bestaudio/worst {url}', mode='normal')
config.bind('Ev', 'spawn --detach mpv --ytdl-format=244+bestaudio/243+bestaudio/242+bestaudio/480p/worst {url}', mode='normal')
config.bind('EV', 'spawn --detach mpv {url}', mode='normal')
config.bind('Ea', 'spawn --detach mpv --no-video --force-window=yes {url}', mode='normal')
config.bind('Fv', 'hint links spawn --detach mpv --ytdl-format=244+bestaudio/243+bestaudio/242+bestaudio/worst {hint-url}', mode='normal')
config.bind('Fv', 'hint links spawn --detach mpv --ytdl-format=244+bestaudio/243+bestaudio/242+bestaudio/480p/worst {hint-url}', mode='normal')
config.bind('FV', 'hint links spawn --detach mpv {hint-url}', mode='normal')
config.bind('Fa', 'hint links spawn --detach mpv --no-video --force-window=yes {hint-url}', mode='normal')
config.unbind('F')
@ -45,6 +45,7 @@ config.set('content.javascript.enabled', True, '*://*.vulgarisons.info')
config.set('content.javascript.enabled', True, '*://mastodon.zaclys.com')
config.set('content.javascript.enabled', True, '*://*.melvoridle.com')
config.set('content.javascript.enabled', True, '*://*.raiffeisen.ch')
config.set('content.javascript.enabled', True, '*://*.cmnet.ch')
c.url.default_page = 'https://searx.info'
c.hints.mode = "number"
@ -54,7 +55,6 @@ c.url.searchengines = {
'yt':'https://youtube.com/results?search_query={}',
'wfr':'https://fr.wikipedia.org/w/index.php?search={}',
'wen':'https://en.wikipedia.org/w/index.php?search={}'
}
#Fonts
@ -76,3 +76,5 @@ try:
config.source("jblock/jblock/integrations/qutebrowser.py")
except ImportError:
pass
config.load_autoconfig()