summaryrefslogtreecommitdiff
path: root/etc/mailcap
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-11-06 15:08:23 -0500
committerLuke Smith <luke@lukesmith.xyz>2018-11-06 15:08:23 -0500
commit26c0df4511461c2062784531458b6b84ea73e6b0 (patch)
treebd71443aa4e431a002d1a4b1ce57334f68b9604a /etc/mailcap
parentf0abb7190ab74155a344f31812330ca2aa9a855a (diff)
more general openfile script
Diffstat (limited to 'etc/mailcap')
-rw-r--r--etc/mailcap4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/mailcap b/etc/mailcap
index 519c8a5..503a75a 100644
--- a/etc/mailcap
+++ b/etc/mailcap
@@ -1,7 +1,7 @@
text/plain; vim %s ;
-text/html; ~/.config/mutt/etc/htmlopen.sh %s ;
+text/html; ~/.config/mutt/etc/openfile.sh %s ;
text/html; w3m -I %{charset} -T text/html; copiousoutput;
image/*; ~/.config/mutt/etc/muttimage.sh %s ; copiousoutput
video/*; setsid mpv --quiet %s &; copiousoutput
-application/pdf; cp '%s' /tmp/doc.pdf && setsid zathura /tmp/doc.pdf &; copiousoutput;
+application/pdf; ~/.config/mutt/etc/openfile.sh %s ;
application/pgp-encrypted; gpg -d '%s'; copiousoutput;