commit 80561f88e4bf1268074d0ab37ff0d0dcb609dd40 parent 844e275a594f7043d97c57d089556b3016b45047 Author: Sven Möller <sven@svenmoeller.xyz> Date: Sat, 26 Feb 2022 13:40:37 +0100 Remove dependency of xurls in news script Diffstat:
M | bin/.local/bin/news | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/.local/bin/news b/bin/.local/bin/news @@ -4,4 +4,5 @@ && menu="dmenu -i -l 44" \ || menu="fzf" -curl -s https://news.svenmoeller.xyz/index.txt | $menu | xurls | xargs -r lh open +curl -s https://news.svenmoeller.xyz/index.txt | $menu\ + | grep -Eo 'https?://\S+' | xargs -r lh open