summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.config/mutt/defaults.muttrc2
-rwxr-xr-x.local/bin/mutt_md2html.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/.config/mutt/defaults.muttrc b/.config/mutt/defaults.muttrc
index 3d1db91..99f58fe 100644
--- a/.config/mutt/defaults.muttrc
+++ b/.config/mutt/defaults.muttrc
@@ -77,7 +77,7 @@ macro index \Cf "<enter-command>unset wait_key<enter><shell-escape>printf 'Enter
macro index A "<limit>all\n" "show all messages (undo limit)"
macro compose Y "<first-entry>\
<pipe-entry>mutt_md2html.sh<enter>\
-<enter-command>source /tmp/neomutt-attach-macro<enter>"
+<enter-command>source /tmp/neomutt-commands<enter>"
# Sidebar mappings
set sidebar_visible = yes
diff --git a/.local/bin/mutt_md2html.sh b/.local/bin/mutt_md2html.sh
index 0756ea7..f934bb4 100755
--- a/.local/bin/mutt_md2html.sh
+++ b/.local/bin/mutt_md2html.sh
@@ -2,7 +2,7 @@
commandsFile="/tmp/neomutt-commands"
markdownFile="/tmp/neomutt-markdown"
-htmlFile="/tmp/neomutt.html"
+htmlFile="/tmp/neomutt-$(hostname -s)-$(id -u)-$(date +%s).html"
cat - > "$markdownFile"
echo -n "push " > "$commandsFile"