diff options
Diffstat (limited to '.local/bin/rssadd')
| -rwxr-xr-x | .local/bin/rssadd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/rssadd b/.local/bin/rssadd index 4ef31a4..9dcdd7b 100755 --- a/.local/bin/rssadd +++ b/.local/bin/rssadd @@ -2,7 +2,7 @@ ! echo "$1" | grep "https*://\S\+\.[A-Za-z]\+\S*" >/dev/null && notify-send "That doesn't look like a full URL." && exit -RSSFILE="$HOME/.config/newsboat/urls" +RSSFILE="$XDG_CONFIG_HOME/newsboat/urls" if awk '{print $1}' "$RSSFILE" | grep "^$1$" >/dev/null; then notify-send "You already have this RSS feed." else |
