summaryrefslogtreecommitdiffstats
path: root/mailcap
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-01-14 21:52:11 -0500
committerJesse Luehrs <doy@tozt.net>2018-01-14 21:53:56 -0500
commit855a74062d9eeff7e6a325fb805751f373268d86 (patch)
tree0f87d75ef96d0ee89620e53420e1713a581a2318 /mailcap
parent5e1da4d5eecb26a2673f7b7e1b6a80ffa518a52d (diff)
downloadconf-855a74062d9eeff7e6a325fb805751f373268d86.tar.gz
conf-855a74062d9eeff7e6a325fb805751f373268d86.zip
add a sleep to firefox invocations in mailcap
since firefox doesn't block, this often causes mutt to write the attachment to a temp file, call firefox, and then remove the temp file before firefox has a chance to load it
Diffstat (limited to 'mailcap')
-rw-r--r--mailcap10
1 files changed, 5 insertions, 5 deletions
diff --git a/mailcap b/mailcap
index 0e88b92..39ae2ef 100644
--- a/mailcap
+++ b/mailcap
@@ -6,11 +6,11 @@ application/x-tar; /bin/tar tvf -; print=/bin/tar tvf - | print text/plain:-; co
application/x-gtar; /bin/tar tvzf -; print=/bin/tar tvzf - | print text/plain:-; copiousoutput
application/zip; unzip -l '%s'; nametemplate=%s.zip; copiousoutput
text/*; less '%s'; needsterminal
-image/png; firefox '%s'
-image/jpeg; firefox '%s'
-image/gif; firefox '%s'
-image/bmp; firefox '%s'
-application/pdf; firefox '%s'
+image/png; firefox '%s' && sleep 1
+image/jpeg; firefox '%s' && sleep 1
+image/gif; firefox '%s' && sleep 1
+image/bmp; firefox '%s' && sleep 1
+application/pdf; firefox '%s' && sleep 1
application/msword; libreoffice '%s'
application/vnd.ms-excel; libreoffice '%s'
application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice '%s'