summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe <bousset.rudy@gmail.com>2022-07-06 12:46:09 +0200
committerJoe <bousset.rudy@gmail.com>2022-07-06 12:46:09 +0200
commit8afaafcacb6e2fb675527d54db473b2843307985 (patch)
treea6ac7722a3fbd77b84c88e6c09d07903051719cd
parentUpdate (diff)
downloaddotfiles-bsd-8afaafcacb6e2fb675527d54db473b2843307985.tar.gz
dotfiles-bsd-8afaafcacb6e2fb675527d54db473b2843307985.tar.bz2
dotfiles-bsd-8afaafcacb6e2fb675527d54db473b2843307985.tar.xz
dotfiles-bsd-8afaafcacb6e2fb675527d54db473b2843307985.tar.zst
dotfiles-bsd-8afaafcacb6e2fb675527d54db473b2843307985.zip
Update
-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"