From 8e2b86630f8ca383e930e3fae4b73077dcaedefb Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Wed, 10 Nov 2021 10:52:40 +0100
Subject: Limit Twitter alternatives to ones of people I know
---
.local/bin/open | 11 ++---------
1 file 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())) }
--
cgit v1.1