Dotfiles for different machines on different branches.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
#!/bin/sh! echo "$1" | grep "https*://\S\+\.[A-Za-z]\+\S*" >/dev/null && notify-send "That doesn't look like a full URL." && exitRSSFILE="$HOME/.config/newsboat/urls"if awk '{print $1}' "$RSSFILE" | grep "^$1$" >/dev/null; then notify-send "You already have this RSS feed."else echo "$1" >> "$RSSFILE" && notify-send "RSS feed added."fi
|