aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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