diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-07-24 10:45:29 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-07-24 10:45:29 +0200 |
commit | 719cfbd01026cf623b5cada51924d5969f2a743b (patch) | |
tree | a12bda5973b22b659ac2107078ac814cfaa92a51 | |
parent | 5c1b31f65daabed266f85cbf4ad912c14e7d1643 (diff) | |
download | bin-719cfbd01026cf623b5cada51924d5969f2a743b.tar.gz bin-719cfbd01026cf623b5cada51924d5969f2a743b.tar.xz |
compose-mail-from-stdin: Use mutt
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | compose-mail-from-stdin | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/compose-mail-from-stdin b/compose-mail-from-stdin index a8637f6..59d97a0 100755 --- a/compose-mail-from-stdin +++ b/compose-mail-from-stdin @@ -1,4 +1,11 @@ #!/bin/bash -cat | claws-mail --compose-from-file - & +#cat | claws-mail --compose-from-file - & +TMPFILE=$(mktemp) +cat > "$TMPFILE" +( +#trap "rm $TMPFILE" EXIT INT TERM +termite -e "mutt -e 'set autoedit=yes' -E -H $TMPFILE" +rm "$TMPFILE" +) & disown |