From: martin f. krafft Date: Tue, 19 Apr 2022 17:47:11 +0000 (+0200) Subject: htmldump debugging X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/777be437e3351b60c710a810d4e06250a42d296b?ds=sidebyside htmldump debugging --- diff --git a/.config/mutt/hooks b/.config/mutt/hooks index f175004..29b0706 100644 --- a/.config/mutt/hooks +++ b/.config/mutt/hooks @@ -20,8 +20,7 @@ send2-hook '~C @vger\.kernel\.org' 'unset send_multipart_alternative" # NOTE: using M-F-T from procmail for now message-hook . 'set attribution="$my_attribution_en"' -message-hook '~b "\\<(Danke|Grü(ß|ss)e|Gru(ß|ss)|Lieber?|geehrter?|Herr|Frau|Moin|Servus|Lg|Deine?|Ihre?)\\>"' 'set attribution="$my_attribution_de"' -message-hook '~b "Lieber?"' 'set attribution="$my_attribution_de"' +#message-hook '~b "\\<(Danke|Grü(ß|ss)e|Gru(ß|ss)|Lieber?|geehrter?|Herr|Frau|Moin|Servus|Lg|Deine?|Ihre?)\\>"' 'set attribution="$my_attribution_de"' # do not get spam status via imap, as it would download the entire message folder-hook . 'set index_format="%4C %Z %-10@date@ %-15.15F %4c%?M?/[%M]? %?H?[%H] ?%s"' diff --git a/.config/mutt/htmldump b/.config/mutt/htmldump index c15ecd1..53b3a2e 100755 --- a/.config/mutt/htmldump +++ b/.config/mutt/htmldump @@ -20,6 +20,14 @@ elif [ $WRAP -gt 0 ]; then fi +awesome-client <<-_eof + local naughty = require("naughty") + naughty.notify({ preset = naughty.config.presets.low, + title = "htmldump called", + text = [[$@]], + }) + _eof + if command -v html2markdown >/dev/null; then exec html2markdown --asterisk-emphasis --body-width=$WIDTH --unicode-snob \