From 170e7fe7ec66288b1f7c6bda6d7d907f2d74b288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Wed, 13 Dec 2023 18:18:44 +0300 Subject: neomutt: open html with browser Open html with browser when it is opened from the attachment page. --- dotfiles/.config/mutt/mailcap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/.config/mutt/mailcap b/dotfiles/.config/mutt/mailcap index 71ce50c..1cf1187 100644 --- a/dotfiles/.config/mutt/mailcap +++ b/dotfiles/.config/mutt/mailcap @@ -1,6 +1,6 @@ text/plain; $EDITOR %s ; +text/html; (xdg-open %s && sleep 1) ; nametemplate=%s.html; needsterminal; text/html; lynx -assume_charset=%{charset} -display_charset=utf-8 -dump %s; nametemplate=%s.html; copiousoutput; -text/html; mutt-open %s ; nametemplate=%s.html image/*; mutt-open %s ; video/*; setsid mpv --quiet %s &; copiousoutput audio/*; mpv %s ; -- cgit v1.2.3