summaryrefslogtreecommitdiff
path: root/scripts/add2rss
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-02-21 18:45:07 -0500
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-02-21 18:45:07 -0500
commita504b63dfaa23ac6ba420942f71d859630c03e0e (patch)
tree9dff1f05c408fabfa5da7dcbfc5b901f14706af9 /scripts/add2rss
parentc82d20316320d8584f0a9fa1218f0e73d1fc4530 (diff)
refactor!: Unused Programs Removed
Multiple unused programs have be removed. These programs were unmaintained, no longer functioning, and/or had no purpose anymore. BREAKING CHANGE: Multiple scripts removed
Diffstat (limited to 'scripts/add2rss')
-rwxr-xr-xscripts/add2rss34
1 files changed, 0 insertions, 34 deletions
diff --git a/scripts/add2rss b/scripts/add2rss
deleted file mode 100755
index ab29362..0000000
--- a/scripts/add2rss
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-RSSFILE=~/.config/newsboat/urls
-
-if test -n "$1";
-then
- URL=$1
-elif test ! -t 0;
-then
- URL=$(cat < /dev/stdin)
-else
- URL=$(xclip -o clipboard)
- if test -n "$URL";
- then
- notify-send "add2rss: copied $URL from clipboard"
- else
- notify-send "add2rss: no input"
- exit
- fi
-fi
-
-if test -n "$2";
-then
- URL="$URL \"$2\""
-fi
-
-if test -n "$(grep $URL $RSSFILE)";
-then
- notify-send "add2rss: You already added this feed"
-else
- echo "$URL" >> $RSSFILE
- notify-send "add2rss: Added"
-fi
-