summaryrefslogtreecommitdiffstats
path: root/.local/bin/tools/rssadd
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-05-19 20:05:14 -0400
committerLuke Smith <luke@lukesmith.xyz>2019-05-19 20:05:14 -0400
commitc6e69e96421ebf192eb6de537324e269e7bfda78 (patch)
tree47d34a5ff72d65be9a3e2c6aeb55a88da3a6fbd2 /.local/bin/tools/rssadd
parentbf8c6b1e20f42a7725d8d919830fdb274596b20f (diff)
downloadeibhear-c6e69e96421ebf192eb6de537324e269e7bfda78.tar.gz
eibhear-c6e69e96421ebf192eb6de537324e269e7bfda78.tar.zst
eibhear-c6e69e96421ebf192eb6de537324e269e7bfda78.zip
massive cleanup
Diffstat (limited to '.local/bin/tools/rssadd')
-rwxr-xr-x.local/bin/tools/rssadd9
1 files changed, 0 insertions, 9 deletions
diff --git a/.local/bin/tools/rssadd b/.local/bin/tools/rssadd
deleted file mode 100755
index 8822fc5..0000000
--- a/.local/bin/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