From 01711935b6aea45360e53f50045364b0c61ca1a0 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Tue, 1 Aug 2023 10:41:00 -0400 Subject: [PATCH] qutebrowser: misc service changes --- src/.config/qutebrowser/config.py | 2 +- src/.local/share/qutebrowser/userscripts/fixlink.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/.config/qutebrowser/config.py b/src/.config/qutebrowser/config.py index f416e59..8ca06ea 100644 --- a/src/.config/qutebrowser/config.py +++ b/src/.config/qutebrowser/config.py @@ -44,7 +44,7 @@ config.bind('td', 'config-cycle colors.webpage.darkmode.enabled true false;; res c.url.default_page = "~/.config/qutebrowser/homepage.html" c.url.start_pages = "~/.config/qutebrowser/homepage.html" -c.url.searchengines = {"DEFAULT":"https://xo.wtf/search?q={}"} +c.url.searchengines = {"DEFAULT":"https://searx.be/search?q={}"} c.downloads.location.directory = "~/quar/" c.zoom.default = "90%" diff --git a/src/.local/share/qutebrowser/userscripts/fixlink.sh b/src/.local/share/qutebrowser/userscripts/fixlink.sh index 7283d72..af6f5a8 100755 --- a/src/.local/share/qutebrowser/userscripts/fixlink.sh +++ b/src/.local/share/qutebrowser/userscripts/fixlink.sh @@ -15,13 +15,16 @@ GENIUS="sing.whatever.social" FANDOM="breezewiki.com" YOUTUBE="yewtu.be" MEDIUM="libmedium.batsense.net" +QUORA="quetre.frontendfriendly.xyz" LINK="$(printf "%s" "$QUTE_URL" | sed \ -e "s/www.reddit.com/$REDDIT/g" \ + -e "s/old.reddit.com/$REDDIT/g" \ -e "s/twitter.com/$TWITTER/g" \ -e "s/genius.com/$GENIUS/g" \ -e "s/fandom.com/$FANDOM/g" \ -e "s/medium.com/$MEDIUM/g" \ + -e "s/www.quora.com/$QUORA/g" \ -e "s/youtube.com/$YOUTUBE/g")" echo "open $1 $LINK" >> "$QUTE_FIFO"