From 5ce334f9147afddb80375c30adfa4a4406b1069b Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Mon, 5 Oct 2020 08:56:35 +0200 Subject: [PATCH] Change default searx instance --- .config/qutebrowser/autoconfig.yml | 41 ++++++++++++++++++++++++++++++ .config/qutebrowser/config.py | 2 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 .config/qutebrowser/autoconfig.yml diff --git a/.config/qutebrowser/autoconfig.yml b/.config/qutebrowser/autoconfig.yml new file mode 100644 index 0000000..4f914f6 --- /dev/null +++ b/.config/qutebrowser/autoconfig.yml @@ -0,0 +1,41 @@ +# If a config.py file exists, this file is ignored unless it's explicitly loaded +# via config.load_autoconfig(). For more information, see: +# https://github.com/qutebrowser/qutebrowser/blob/master/doc/help/configuring.asciidoc#loading-autoconfigyml +# DO NOT edit this file by hand, qutebrowser will overwrite it. +# Instead, create a config.py - see :help for details. + +config_version: 2 +settings: + content.geolocation: + https://www.carvelo2go.ch: false + content.javascript.enabled: + '*://*.bernexskiclub.ch/*': true + '*://*.localhost/*': true + '*://*.login.infomaniak.com/*': true + '*://*.manager.infomaniak.com/*': true + '*://*.mastodon.zaclys.com/*': true + '*://*.mensuel.framapad.org/*': true + '*://*.nitter.net/*': true + '*://*.pixelfed.org/*': true + '*://*.pixelfed.social/*': true + '*://*.reddit.com/*': true + '*://*.twitter.com/*': true + '*://*.www.meteosuisse.admin.ch/*': true + '*://*.www.openstreetmap.org/*': true + '*://demo.bigbluebutton.org/*': true + '*://framavox.org/*': true + '*://ge.ch/*': true + '*://mastodon.zaclys.com/*': true + '*://meet.infomaniak.com/*': true + '*://searx.info/*': true + '*://searx.xyz/*': true + '*://webmail.acg-geneve.ch/*': true + '*://www.deepl.com/*': true + '*://www2.yggtorrent.se/*': true + content.media_capture: + https://visio.inubo.ch: true + content.notifications: + https://mastodon.zaclys.com: false + https://rss.vulgarisons.info: false + qt.args: + global: null diff --git a/.config/qutebrowser/config.py b/.config/qutebrowser/config.py index 63ba9bc..99f2a06 100644 --- a/.config/qutebrowser/config.py +++ b/.config/qutebrowser/config.py @@ -50,7 +50,7 @@ config.set('content.javascript.enabled', True, '*://*.cmnet.ch') c.url.default_page = 'https://searx.info' c.hints.mode = "number" c.url.searchengines = { - 'DEFAULT':'https://searx.info/?q={}', + 'DEFAULT':'https://searx.xyz/?q={}', 'ddg':'https://duckduckgo.com/?q={}', 'yt':'https://youtube.com/results?search_query={}', 'wfr':'https://fr.wikipedia.org/w/index.php?search={}',