qutebrowser: fixlink.sh - added Fandom wiki alternative

This commit is contained in:
dogeystamp 2023-05-20 16:34:55 -04:00
parent a13717fe60
commit e6747a4bd2
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -11,12 +11,15 @@ REDDIT="lr.mint.lgbt"
TWITTER="nitter.net"
# genius lyrics
GENIUS="sing.whatever.social"
# fandom the wiki
FANDOM="breezewiki.com"
YOUTUBE="yewtu.be"
LINK="$(printf "%s" "$QUTE_URL" | sed \
-e "s/www.reddit.com/$REDDIT/g" \
-e "s/twitter.com/$TWITTER/g" \
-e "s/genius.com/$GENIUS/g" \
-e "s/fandom.com/$FANDOM/g" \
-e "s/youtube.com/$YOUTUBE/g")"
echo "open $1 $LINK" >> "$QUTE_FIFO"