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
commit5fd0a6af3a036ece9289fa738d732ffa488c3d80 (patch)
tree445f6c46927f0b259340f9c958eb099472e2949d
parentAdd sup for setting single-use passwords (diff)
downloadsrc-5fd0a6af3a036ece9289fa738d732ffa488c3d80.tar.gz
src-5fd0a6af3a036ece9289fa738d732ffa488c3d80.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