qutebrowser: misc service changes

This commit is contained in:
dogeystamp 2023-08-01 10:41:00 -04:00
parent b137fe275c
commit 01711935b6
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
2 changed files with 4 additions and 1 deletions

View File

@ -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%"

View File

@ -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"