--- /dev/null
+text/html; qutebrowser %s; nametemplate=%s.html
+text/html; lynx -stdin -dump -force_html ; copiousoutput
+application/pdf; mupdf %s;
+application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice %s;
+application/vnd.openxmlformats-officedocument.presentationml.presentation; libreoffice %s;
+application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; libreoffice %s;
+application/vnd.oasis.opendocument.spreadsheet; libreoffice %s;
+
+image/png; mupdf %s;
+image/jpg; mupdf %s;
+image/jpeg; mupdf %s;
--- /dev/null
+mailcap file:
+ file.managed:
+ - name: {{ grains['homedir'] }}/.mailcap
+ - source: salt://mailcap/files/mailcap
+ - user: {{ grains['user'] }}
+ - group: {{ grains['user'] }}
+ - mode: 640
+