diff options
Diffstat (limited to 'bin/rsschk')
-rwxr-xr-x | bin/rsschk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rsschk b/bin/rsschk index ab74169..92b8557 100755 --- a/bin/rsschk +++ b/bin/rsschk @@ -9,7 +9,7 @@ fi re_urls='https?://[[:alnum:].]*:?[[:alnum:]./@$&%?$#=_-]*\.(rss|xml)' ! echo "$1" | grep -Eq "$re_urls" && - notify-send "Invalid input. rsschk takes http(s) URLs as input." && exit + notif "Invalid input. rsschk takes http(s) URLs as input." && exit RSSFILE="${XDG_CONFIG_HOME:=~/.config}/newsboat/urls" grep -q "^$1" "$RSSFILE" && - { echo "$1">>"$RSSFILE"&¬ify-send "RSS feed added.";} + { echo "$1">>"$RSSFILE"&¬if "RSS feed added.";} |