summaryrefslogtreecommitdiff
path: root/shell-scripts
diff options
context:
space:
mode:
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