From 54920103c2843f5a3620effbccaceaee7f6885c1 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 18 May 2019 00:07:32 -0400 Subject: scripts moved to ~/.local/bin --- .scripts/tools/rssadd | 9 --------- 1 file changed, 9 deletions(-) delete mode 100755 .scripts/tools/rssadd (limited to '.scripts/tools/rssadd') diff --git a/.scripts/tools/rssadd b/.scripts/tools/rssadd deleted file mode 100755 index 8822fc5..0000000 --- a/.scripts/tools/rssadd +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -! 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" -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 -- cgit v1.3.1