aboutsummaryrefslogtreecommitdiffstats
path: root/filters/html
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-06-27 09:32:46 -0400
committerDrew DeVault <sir@cmpwn.com>2019-06-27 09:32:46 -0400
commit177651bddab145c8a56cdfeb0d57b5fd95a6d0e2 (patch)
tree75681e3ab5c71b8cdb06f22247dfcd4a547393dc /filters/html
parent59df06fe28ddde3607cb3080636e65d48b762baf (diff)
downloadaerc-177651bddab145c8a56cdfeb0d57b5fd95a6d0e2.tar.gz
Move contrib -> filters
Diffstat (limited to 'filters/html')
-rwxr-xr-xfilters/html10
1 files changed, 10 insertions, 0 deletions
diff --git a/filters/html b/filters/html
new file mode 100755
index 00000000..db7808ac
--- /dev/null
+++ b/filters/html
@@ -0,0 +1,10 @@
+#!/bin/sh
+# aerc filter which runs w3m using socksify (from the dante package) to prevent
+# any phoning home by rendered emails
+export SOCKS_SERVER="127.0.0.1:1"
+exec socksify w3m \
+ -T text/html \
+ -cols $(tput cols) \
+ -dump \
+ -o display_image=false \
+ -o display_link_number=true