From d3a2ebda1acf3fbc925a039fac7a2bbd8e1c30ce Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Sun, 18 Jul 2021 09:01:50 +0200 Subject: [PATCH 1/3] [QB] Better video management --- .config/qutebrowser/config.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 590e8a7..37ff164 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -18,11 +18,11 @@ 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=bestvideo[height<=480]+bestaudio {url}', mode='normal') -config.bind('EV', 'spawn --detach mpv {url}', mode='normal') +config.bind('Ev', 'spawn --detach mpv --ytdl-format=worstvideo[height>=480]+bestaudio {url}', mode='normal') +config.bind('EV', 'spawn --detach mpv --ytdl-format=bestvideo[height<=1080]+bestaudio {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=bestvideo[height<=480]+bestaudio {hint-url}', mode='normal') -config.bind('FV', 'hint links spawn --detach mpv {hint-url}', mode='normal') +config.bind('Fv', 'hint links spawn --detach mpv --ytdl-format=worstvideo[height>=480]+bestaudio {hint-url}', mode='normal') +config.bind('FV', 'hint links spawn --detach mpv --ytdl-format=bestvideo[height<=1080]+bestaudio {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.bind('', 'back', mode='normal') From 6ee1534e45f92be5067ddc01184f40b4de8f6b52 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Sun, 18 Jul 2021 09:02:38 +0200 Subject: [PATCH 2/3] [QB] Switch to Mojeek as default search engine --- .config/qutebrowser/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 37ff164..7f068cc 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -55,7 +55,7 @@ config.set('colors.webpage.darkmode.enabled', True) c.url.default_page = 'https://searx.info' c.hints.mode = "number" c.url.searchengines = { - 'DEFAULT':'https://searx.fmac.xyz/?q={}', + 'DEFAULT':'https://www.mojeek.com/search?q={}', 'ddg':'https://duckduckgo.com/?q={}', 'yt':'https://youtube.com/results?search_query={}', 'wfr':'https://fr.wikipedia.org/w/index.php?search={}', @@ -67,6 +67,7 @@ c.url.searchengines = { 'deb':'https://tracker.debian.org/pkg/{}', 'mjk':'https://www.mojeek.com/search?q={}', 'php':'https://www.php.net/manual-lookup.php?pattern={}&scope=quickref', + 'srx':'https://searx.fmac.xyz/?q={}', } #Fonts From 1157086ec5f210bfd02c89af0c33caff7ead3d82 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Sun, 18 Jul 2021 09:03:04 +0200 Subject: [PATCH 3/3] [QB] Add some quickmarks --- .config/qutebrowser/quickmarks | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/qutebrowser/quickmarks b/.config/qutebrowser/quickmarks index 24ddcd5..4ecd038 100644 --- a/.config/qutebrowser/quickmarks +++ b/.config/qutebrowser/quickmarks @@ -100,3 +100,5 @@ magic the gathering card search mtg https://scryfall.com/ bibliotheques municipales genève https://catalogue-bm.geneve.ch/accueil mouse open hardware https://www.ploopy.co/ latex formules math cours https://moonbooks.org/Articles/Formules-math%C3%A9matiques-sous-LaTeX/ +gnu screen cheatsheet https://gist.github.com/jctosta/af918e1618682638aa82 +mtg arena card list https://www.magicarenacardlist.com/