summaryrefslogtreecommitdiff
path: root/.local
diff options
context:
space:
mode:
Diffstat (limited to '.local')
-rwxr-xr-x.local/bin/send-package4
-rw-r--r--.local/share/send-package/template1
2 files changed, 2 insertions, 3 deletions
diff --git a/.local/bin/send-package b/.local/bin/send-package
index 4c6538b..f51b6f3 100755
--- a/.local/bin/send-package
+++ b/.local/bin/send-package
@@ -6,5 +6,5 @@ readonly tmpl="${XDG_DATA_HOME:-$HOME/.local/share}/send-package/template"
sed -En '/^Angel Cakes/,/^Doozies/s/(\t|\s{2,})/\n/gp' ~/doc/tit-names \
| shuf -n1 \
- | xargs -I{} -- sed -e 's/$REPLACEME/{}/' -e "s/\$TO/$TO/" "$tmpl"
- | msmtp -t --read-envelope-from
+ | xargs -I{} -- sed 's/$REPLACEME/{}/' "$tmpl" \
+ | msmtp --read-envelope-from "$TO"
diff --git a/.local/share/send-package/template b/.local/share/send-package/template
index ec7dca8..c92b73d 100644
--- a/.local/share/send-package/template
+++ b/.local/share/send-package/template
@@ -1,4 +1,3 @@
-To: $TO
From: Thomas Voss <mail@thomasvoss.com>
Subject: Dear Dearest Girlfriend