From fa67562835fc4cfd8f87c2abc622b9c1b4358ffe Mon Sep 17 00:00:00 2001 From: Dennis Lee Date: Sat, 4 Apr 2020 12:45:33 -0700 Subject: substitute $HOME/.config with $XDG_CONFIG_HOME --- .local/bin/rssadd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/rssadd') 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 -- cgit v1.3.1