aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2022-08-04 07:27:06 -0700
committerRaul Benencia <id@rbenencia.name>2022-08-04 07:27:06 -0700
commitba3a895867cc92cca59b9c4150790aff5921870d (patch)
treeba5fa5afd1c4671fddd43edaf2a4578063192f3b
parente69aab905ae41bcd623e895be1d98d634c06a561 (diff)
mailcap: use w3m for text/html
-rw-r--r--.mailcap2
-rw-r--r--debian/control1
2 files changed, 2 insertions, 1 deletions
diff --git a/.mailcap b/.mailcap
index 57e636e..ab6d7da 100644
--- a/.mailcap
+++ b/.mailcap
@@ -1,4 +1,4 @@
-text/html; lynx -dump %s; nametemplate=%s.html; copiousoutput
+text/html; /usr/bin/w3m -dump -T text/html -I %{charset} -O utf-8 %s; copiousoutput; description=HTML Text; nametemplate=%s.html
application/pdf; { set -m \; /bin/mv -T %s %s.mv \; ( evince %s.mv \; /bin/rm %s.mv \; ) & }
image/*; eog %s ;
application/x-gunzip; gzcat; copiousoutput
diff --git a/debian/control b/debian/control
index 1e9ce70..0410331 100644
--- a/debian/control
+++ b/debian/control
@@ -37,6 +37,7 @@ Build-Depends:
neomutt,
notmuch-mutt,
python3-proselint,
+ w3m,
Standards-Version: 4.5.1
Rules-Requires-Root: no
nihil fit ex nihilo