summaryrefslogtreecommitdiffstats
path: root/mutt
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-11-16 01:34:16 -0500
committerJesse Luehrs <doy@tozt.net>2018-11-16 03:18:44 -0500
commite42c989d6def401dd893a73cef5d5deac8b42778 (patch)
treea85a03c0c2c9861729ff182d471ddfb25a09ec33 /mutt
parentc08a8241a1844216bd76ecfe6bb7d20a8edaf00a (diff)
downloadconf-e42c989d6def401dd893a73cef5d5deac8b42778.tar.gz
conf-e42c989d6def401dd893a73cef5d5deac8b42778.zip
prefer xdg basedir specification directories
Diffstat (limited to 'mutt')
-rw-r--r--mutt/mailcap17
-rw-r--r--mutt/muttrc2
2 files changed, 18 insertions, 1 deletions
diff --git a/mutt/mailcap b/mutt/mailcap
new file mode 100644
index 0000000..ed8b963
--- /dev/null
+++ b/mutt/mailcap
@@ -0,0 +1,17 @@
+text/plain; less '%s'; needsterminal
+text/html; elinks -force-html '%s'; needsterminal; description=HTML Text; nametemplate=%s.html
+text/html; elinks -force-html -dump '%s'; copiousoutput; description=HTML Text; nametemplate=%s.html
+application/x-tar; /bin/tar tvf -; print=/bin/tar tvf - | print text/plain:-; copiousoutput
+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; sxiv '%s'
+image/jpeg; sxiv '%s'
+image/gif; sxiv '%s'
+image/bmp; sxiv '%s'
+image/tiff; sxiv '%s'
+application/pdf; zathura '%s'
+application/msword; libreoffice '%s'
+application/vnd.ms-excel; libreoffice '%s'
+application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice '%s'
+application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; libreoffice '%s'
diff --git a/mutt/muttrc b/mutt/muttrc
index a992dc4..5098785 100644
--- a/mutt/muttrc
+++ b/mutt/muttrc
@@ -3,7 +3,7 @@ set record="=Sent"
set postponed="=Drafts"
set header_cache="~/.cache/mutt/headers"
set message_cachedir="~/.cache/mutt/bodies"
-set mailcap_path="~/.mailcap"
+set mailcap_path="~/.mutt/mailcap"
# }}}
# identity {{{
# i am "Jesse Luehrs <doy@tozt.net>"