news: fix add_twitter command

This commit is contained in:
lassulus 2022-02-20 15:05:21 +01:00
parent 442319c894
commit 04f5504931

View File

@ -184,7 +184,7 @@
exit 1 exit 1
fi fi
twitter_nick=$(echo "$1" | ${pkgs.jq}/bin/jq -Rr '[match("(\\S+)\\s*";"g").captures[].string][0]') twitter_nick=$(echo "$1" | ${pkgs.jq}/bin/jq -Rr '[match("(\\S+)\\s*";"g").captures[].string][0]')
echo "brockman: add tw_$twitter_nick http://rss.r/?action=display&bridge=Twitch&channel=$twitter_nick&type=all&format=Atom" echo "brockman: add tw_$twitter_nick http://rss.r/?action=display&bridge=Twitter&context=By+username&u=$twitter_nick&norep=on&noretweet=on&nopinned=on&nopic=on&format=Atom"
''; '';
search.filename = pkgs.writeDash "search" '' search.filename = pkgs.writeDash "search" ''
set -euf set -euf