aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-12-13 18:18:44 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2023-12-13 18:18:44 +0300
commit170e7fe7ec66288b1f7c6bda6d7d907f2d74b288 (patch)
tree9dfff185d4726ffe2ae9bd954c2b577bec3ad26b
parent44a0b3a81978761e04cf287801200c58af3fa86e (diff)
downloadswayrice-170e7fe7ec66288b1f7c6bda6d7d907f2d74b288.tar.gz
swayrice-170e7fe7ec66288b1f7c6bda6d7d907f2d74b288.zip
neomutt: open html with browser
Open html with browser when it is opened from the attachment page.
-rw-r--r--dotfiles/.config/mutt/mailcap2
1 files changed, 1 insertions, 1 deletions
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 ;