# 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