aboutsummaryrefslogtreecommitdiff
path: root/news
blob: 69be33328545cc1b8853a71efd9ad5720091f2a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash
#
# Wrapper for calendar application.
#

# Parameters
BASENAME="`basename $0`"
#APP="newsbeuter"
APP="newsboat"

# Check configuration
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/$APP" ]; then
  mkdir -p $HOME/.local/share/$APP
fi

# Dispatch
# Put Tor config directly in $APP configuration
#TORSOCKS_DEBUG=-1 torify $APP
$APP