qutebrowser: added libmedium to fixlink.sh

This commit is contained in:
dogeystamp 2023-07-06 19:17:17 -04:00
parent 574f8d0274
commit 5371170dcf
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -14,12 +14,14 @@ GENIUS="sing.whatever.social"
# fandom the wiki
FANDOM="breezewiki.com"
YOUTUBE="yewtu.be"
MEDIUM="libmedium.batsense.net"
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/medium.com/$MEDIUM/g" \
-e "s/youtube.com/$YOUTUBE/g")"
echo "open $1 $LINK" >> "$QUTE_FIFO"