From 26c0df4511461c2062784531458b6b84ea73e6b0 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Tue, 6 Nov 2018 15:08:23 -0500 Subject: more general openfile script --- etc/mailcap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc/mailcap') 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; -- cgit v1.2.3