From 57d45b655f691b97ce93d6343df84756e702b59f Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Thu, 8 Feb 2024 11:08:36 +0000 Subject: Adds lynx as the agent of opening web pages Also automatically viewing html pages inside neomutt is now done using lynx. --- mutt/mailcap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mutt/mailcap b/mutt/mailcap index ee5877e..f189bbd 100644 --- a/mutt/mailcap +++ b/mutt/mailcap @@ -15,8 +15,8 @@ application/pdf; ~/.mutt/view_attachment.sh %s pdf zathura #text/html; ~/.mutt/view_attachment.sh %s html w3m # try different # text/html; w3m %s; nametemplate=%s.html # text/html; w3m -dump %s; nametemplate=%s.html; copiousoutput -# text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput -text/html; firefox %s & sleep 3; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html +text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput +#text/html; firefox %s & sleep 3; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html # Plain Text text/plain; cat; copiousoutput; edit=$VISUAL %s -- cgit v1.2.3