From 8afaafcacb6e2fb675527d54db473b2843307985 Mon Sep 17 00:00:00 2001 From: Joe Date: Wed, 6 Jul 2022 12:46:09 +0200 Subject: Update --- .config/mutt/defaults.muttrc | 2 +- .local/bin/mutt_md2html.sh | 2 +- 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 "unset wait_keyprintf 'Enter macro index A "all\n" "show all messages (undo limit)" macro compose Y "\ mutt_md2html.sh\ -source /tmp/neomutt-attach-macro" +source /tmp/neomutt-commands" # 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" -- cgit v1.2.3