summaryrefslogtreecommitdiffstats
path: root/.scripts/tools/rssadd
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-03-20 14:45:08 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-03-20 14:45:08 -0400
commitc109b22891fd164b2695220d724bc2ae752d17c3 (patch)
tree8efda7cadce9e95d1751b5f5fb41ced32ef961f3 /.scripts/tools/rssadd
parenta0fbd4616449bf32c3ae221596ee6871c79b0654 (diff)
downloadeibhear-c109b22891fd164b2695220d724bc2ae752d17c3.tar.gz
eibhear-c109b22891fd164b2695220d724bc2ae752d17c3.tar.zst
eibhear-c109b22891fd164b2695220d724bc2ae752d17c3.zip
PIX variable fully removed
Diffstat (limited to '.scripts/tools/rssadd')
-rwxr-xr-x.scripts/tools/rssadd6
1 files changed, 3 insertions, 3 deletions
diff --git a/.scripts/tools/rssadd b/.scripts/tools/rssadd
index e90dcf2..8822fc5 100755
--- a/.scripts/tools/rssadd
+++ b/.scripts/tools/rssadd
@@ -1,9 +1,9 @@
#!/bin/sh
! echo "$1" | grep "https*://\S\+\.[A-Za-z]\+\S*" >/dev/null &&
- notify-send -i "$PIX/rss.svg" "That doesn't look like a full URL." && exit
+ notify-send "That doesn't look like a full URL." && exit
RSSFILE="$HOME/.config/newsboat/urls"
if awk '{print $1}' "$RSSFILE" | grep "^$1$" >/dev/null; then
- notify-send -i "$PIX/rss.svg" "You already have this RSS feed."
+ notify-send "You already have this RSS feed."
else
- echo "$1" >> "$RSSFILE" && notify-send -i "$PIX/rss.svg" "RSS feed added."
+ echo "$1" >> "$RSSFILE" && notify-send "RSS feed added."
fi