summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-02-16 22:28:51 -0500
committerJune McEnroe <june@causal.agency>2021-02-16 22:28:51 -0500
commitf317a01b0020778ca0d11d9b06a40b89b8908286 (patch)
treedcc616fa07431572f06d04e1463d9da33f210d13
parentAdd sup for setting single-use passwords (diff)
downloadsrc-f317a01b0020778ca0d11d9b06a40b89b8908286.tar.gz
src-f317a01b0020778ca0d11d9b06a40b89b8908286.zip
Add tildenews support to sup
See those variables paid off :)
-rw-r--r--bin/man1/sup.13
-rw-r--r--bin/sup.sh6
2 files changed, 8 insertions, 1 deletions
diff --git a/bin/man1/sup.1 b/bin/man1/sup.1
index 3607df11..f0fe70cb 100644
--- a/bin/man1/sup.1
+++ b/bin/man1/sup.1
@@ -36,4 +36,5 @@ and
 .Pp
 The following services are supported:
 .Cm discogs ,
-.Cm lobsters .
+.Cm lobsters ,
+.Cm tildenews .
diff --git a/bin/sup.sh b/bin/sup.sh
index 457f9047..ce9cdb9d 100644
--- a/bin/sup.sh
+++ b/bin/sup.sh
@@ -76,4 +76,10 @@ lobsters() {
 	open "${lobstersBase}/login"
 }
 
+tildenews() {
+	lobstersBase='https://tilde.news'
+	lobstersFrom='nobody@tilde.news'
+	lobsters
+}
+
 $service