aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2021-11-10 10:52:40 +0100
committerPatrick Spek <p.spek@tyil.nl>2021-11-10 11:00:25 +0100
commit8e2b86630f8ca383e930e3fae4b73077dcaedefb (patch)
treea2c419c51183d5f802d5b389aacebb52c101cb16
parentbd513af81834f03de26347e3d1b37b42be5fefdc (diff)
Limit Twitter alternatives to ones of people I know
-rwxr-xr-x.local/bin/open11
1 files changed, 2 insertions, 9 deletions
diff --git a/.local/bin/open b/.local/bin/open
index d5675b3..23e4102 100755
--- a/.local/bin/open
+++ b/.local/bin/open
@@ -68,16 +68,9 @@ multi sub cmd (HttpUrl $t where *.hostname.ends-with('zaaksysteem.nl')) { "chrom
# Rewrite bad site to good site
my @not-twitter = <
- nitter.42l.fr
- nitter.eu
- nitter.fdn.fr
- nitter.namazso.eu
- nitter.nixnet.services
- nitter.pussthecat.org
- nitter.tedomum.net
- nitter.unixfox.eu
- twitter.lurkmore.com
nitter.mnus.de
+ twitter.alt.tyil.nl
+ twitter.lurkmore.com
>;
multi sub cmd (HttpUrl $t is copy where *.hostname eq "twitter.com") { callwith(URL.new(|$t.Hash, hostname => @not-twitter.pick())) }