[QB] Add mpv video quality option

This commit is contained in:
Gregory Trolliet 2020-06-04 08:31:58 +02:00
parent 7f4d6aff60
commit b32b323181

View file

@ -16,11 +16,17 @@ 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('W', 'set-cmd-text -s :open -t {url:pretty}', mode='normal')
config.bind('Fy', 'hint links yank-primary', mode='normal') config.bind('Fy', 'hint links yank-primary', mode='normal')
config.bind('yy', 'yank -s', mode='normal') config.bind('yy', 'yank -s', mode='normal')
config.bind('m', 'spawn --detach mpv {url}', mode='normal') config.bind('Ev', 'spawn --detach mpv --ytdl-format=244+bestaudio/243+bestaudio/242+bestaudio/worst {url}', mode='normal')
config.bind('Fm', 'hint links spawn --detach mpv {hint-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 {hint-url}', mode='normal')
config.bind('Fa', 'hint links spawn --detach mpv --no-video --force-window=yes {hint-url}', mode='normal')
config.unbind('F') config.unbind('F')
config.bind('<Backspace>', 'back', mode='normal') config.bind('<Backspace>', 'back', mode='normal')
config.bind('<Shift-Backspace>', 'forward', mode='normal') config.bind('<Shift-Backspace>', 'forward', mode='normal')
config.bind('<Control-Tab>', 'tab-next', mode='normal')
config.bind('<Control-Shift-Tab>', 'tab-prev', mode='normal')
@ -32,15 +38,23 @@ c.downloads.remove_finished = 30000
c.content.headers.do_not_track = True c.content.headers.do_not_track = True
c.completion.height = "33%" c.completion.height = "33%"
c.tabs.show = "multiple" c.tabs.show = "multiple"
#c.tabs.new_position.related = "last"
#c.tabs.tabs_are_windows = True #c.tabs.tabs_are_windows = True
c.content.javascript.enabled = False c.content.javascript.enabled = False
config.set('content.javascript.enabled', True, '*://*.vulgarisons.info') config.set('content.javascript.enabled', True, '*://*.vulgarisons.info')
config.set('content.javascript.enabled', True, '*://mastodon.zaclys.com') config.set('content.javascript.enabled', True, '*://mastodon.zaclys.com')
config.set('content.javascript.enabled', True, '*://*.melvoridle.com')
c.url.default_page = 'https://searx.info'
c.hints.mode = "number" c.hints.mode = "number"
c.url.searchengines = {'DEFAULT':'https://duckduckgo.com/?q={}','yt':'https://youtube.com/results?search_query={}','w':'https://fr.wikipedia.org/w/index.php?search={}'} c.url.searchengines = {
'DEFAULT':'https://searx.info/?q={}',
'ddg':'https://duckduckgo.com/?q={}',
'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 #Fonts
#c.fonts.statusbar = "17pt monospace" #c.fonts.statusbar = "17pt monospace"