diff options
Diffstat (limited to '.scripts/tools')
| -rwxr-xr-x | .scripts/tools/rssadd | 6 |
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 |
