summaryrefslogtreecommitdiff
path: root/shell-scripts
diff options
context:
space:
mode:
authorMike Vink <>2023-04-20 00:00:51 +0200
committerMike Vink <>2023-04-20 00:00:51 +0200
commit78ece59a6edadf3b1b345fd0c7255a66eccb4343 (patch)
tree92307c4e34dfb70ac0019d94e26c0c9186447860 /shell-scripts
parent4f09bc2d115a76dcd3037608462e201df0f1b5e4 (diff)
newsboat
Diffstat (limited to 'shell-scripts')
-rwxr-xr-xshell-scripts/news5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell-scripts/news b/shell-scripts/news
new file mode 100755
index 0000000..e01b720
--- /dev/null
+++ b/shell-scripts/news
@@ -0,0 +1,5 @@
+#!/bin/bash
+cat <(cat ~/.config/newsboat/urls) <(for url in $(env | grep NEWSBOAT_URL_); do
+ printf '%s' ${url#NEWSBOAT_URL_*=}
+done) > ~/.newsboat-urls
+newsboat -u ~/.newsboat-urls