aboutsummaryrefslogtreecommitdiff
path: root/scripts/dot-local/bin/mail_html_view
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/dot-local/bin/mail_html_view')
-rwxr-xr-xscripts/dot-local/bin/mail_html_view5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/dot-local/bin/mail_html_view b/scripts/dot-local/bin/mail_html_view
new file mode 100755
index 0000000..9792b79
--- /dev/null
+++ b/scripts/dot-local/bin/mail_html_view
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+sed -i 's/ / /g' "$2"
+
+w3m -I "$1" -O utf-8 -dump -T text/html -cols 100 -s -graph -o fold_textarea=true -o fold_line=true -o decode_url=true -o display_link=true -o display_borders=true -o disable_center=true -o no_cache=true -o use_cookie=false "$2"