summaryrefslogtreecommitdiffstats
path: root/.local/bin/rssadd
diff options
context:
space:
mode:
authorDennis Lee <dennis@dennislee.xyz>2020-04-04 12:45:33 -0700
committerDennis Lee <dennis@dennislee.xyz>2020-04-04 12:45:33 -0700
commitfa67562835fc4cfd8f87c2abc622b9c1b4358ffe (patch)
treece0b756ef1e4375954a423a7ae2aeff7910156f1 /.local/bin/rssadd
parent4f496fa189d9b953a4ab487ea6b7a8eaccc0e9ee (diff)
downloadeibhear-fa67562835fc4cfd8f87c2abc622b9c1b4358ffe.tar.gz
eibhear-fa67562835fc4cfd8f87c2abc622b9c1b4358ffe.tar.zst
eibhear-fa67562835fc4cfd8f87c2abc622b9c1b4358ffe.zip
substitute $HOME/.config with $XDG_CONFIG_HOME
Diffstat (limited to '.local/bin/rssadd')
-rwxr-xr-x.local/bin/rssadd2
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