summaryrefslogtreecommitdiffstats
path: root/.local/bin/rssadd
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-04-08 16:50:33 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-04-08 16:50:33 -0400
commitf93cd463a17ce73adeb1f56a57f211690a6c13b1 (patch)
tree2c84b7197ccc2f6c7862653993c276c660946256 /.local/bin/rssadd
parentf68f3119c1da3c6229c0c26e41b60f20ce7bc84a (diff)
parentbcbfd066cf90cd5aa83225d468680473b8f66ad6 (diff)
downloadeibhear-f93cd463a17ce73adeb1f56a57f211690a6c13b1.tar.gz
eibhear-f93cd463a17ce73adeb1f56a57f211690a6c13b1.tar.zst
eibhear-f93cd463a17ce73adeb1f56a57f211690a6c13b1.zip
Merge branch 'xdgify' of https://github.com/dennisleexyz/dotfiles into dennisleexyz-xdgify
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