aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2019-07-28 17:07:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2019-07-28 17:07:18 -0300
commitaf3f29244780bb4d1650bb283631b3de7562888a (patch)
tree7771e221e16ab2bc704ef8219290a755eaec0599
parentc25177434ab417e3bd2e210e3b330f65f57f464b (diff)
downloadwrappers-af3f29244780bb4d1650bb283631b3de7562888a.tar.gz
wrappers-af3f29244780bb4d1650bb283631b3de7562888a.tar.bz2
News: newsboat support
-rwxr-xr-xnews18
1 files changed, 10 insertions, 8 deletions
diff --git a/news b/news
index 15a3cc0..69be333 100755
--- a/news
+++ b/news
@@ -5,19 +5,21 @@
# Parameters
BASENAME="`basename $0`"
+#APP="newsbeuter"
+APP="newsboat"
# Check configuration
-if [ ! -e "$HOME/.custom/newsbeuter/config" ]; then
- mkdir -p $HOME/.custom/newsbeuter
- touch $HOME/.custom/newsbeuter/config
+if [ ! -e "$HOME/.custom/$APP/config" ]; then
+ mkdir -p $HOME/.custom/$APP
+ touch $HOME/.custom/$APP/config
fi
# Check data folder
-if [ ! -e "$HOME/.local/share/newsbeuter" ]; then
- mkdir -p $HOME/.local/share/newsbeuter
+if [ ! -e "$HOME/.local/share/$APP" ]; then
+ mkdir -p $HOME/.local/share/$APP
fi
# Dispatch
-# Put Tor config directly in newsbeuter configuration
-#TORSOCKS_DEBUG=-1 torify newsbeuter
-newsbeuter
+# Put Tor config directly in $APP configuration
+#TORSOCKS_DEBUG=-1 torify $APP
+$APP