summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-09-11 12:57:36 -0700
committerBen Sima <ben@bsima.me>2018-09-11 12:57:41 -0700
commit0c7f70a8a451376480becb2462cd7a939c9a65ba (patch)
tree20efb0ccfecc273c30c310fe504cd312740a3aa8
parentd6b2860806159cf513b1df566e404bedb52103db (diff)
Switch to w3m for viewing html emails
-rw-r--r--mailcap2
-rw-r--r--packages.nix1
2 files changed, 1 insertions, 2 deletions
diff --git a/mailcap b/mailcap
index 6e9ca78..a67c182 100644
--- a/mailcap
+++ b/mailcap
@@ -1,4 +1,4 @@
-text/html; lynx -dump -width=78 -nolist %s | sed 's/^ //'; copiousoutput; needsterminal; nametemplate=%s.html
+text/html; w3m -I %{charset} -T text/html; copiousoutput;
application/pdf; apvlv %s
image/*; feh %s
application/msword; antiword %s; copiousoutput
diff --git a/packages.nix b/packages.nix
index 52ff269..7d03c0d 100644
--- a/packages.nix
+++ b/packages.nix
@@ -28,7 +28,6 @@ pkgs.keybase
pkgs.keybase-gui
pkgs.ledger
pkgs.lsof
-pkgs.lynx
pkgs.mononoki
pkgs.mplayer
pkgs.mpv