summaryrefslogtreecommitdiff
path: root/archive
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-12-04 12:47:54 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-12-04 12:49:25 -0700
commit0375c8aa2444577dae62e6360198a6ffd67d40bf (patch)
tree126cbd1f5549f3e3026870aa573dc2941b3030c3 /archive
parent73c2b1ab07fd205a3667840e59960b4d8c4e160c (diff)
downloaddotfiles-0375c8aa2444577dae62e6360198a6ffd67d40bf.tar.gz
archive ~/.mailcap so as to try out deferring to /etc/mailcap
In addition, archive the Mutt-specific file, which was doing nothing.
Diffstat (limited to 'archive')
-rw-r--r--archive/.mailcap2
-rw-r--r--archive/.mutt/mailcap6
2 files changed, 8 insertions, 0 deletions
diff --git a/archive/.mailcap b/archive/.mailcap
new file mode 100644
index 00000000..dc932567
--- /dev/null
+++ b/archive/.mailcap
@@ -0,0 +1,2 @@
+# defer to ~/.config/mimeapps.list
+*/*; xdg-open "%s"
diff --git a/archive/.mutt/mailcap b/archive/.mutt/mailcap
new file mode 100644
index 00000000..268e61eb
--- /dev/null
+++ b/archive/.mutt/mailcap
@@ -0,0 +1,6 @@
+# text/html; firefox %s; test=test -n "$DISPLAY"; nametemplate=%s.html
+# text/html; w3m -I %{charset} -T text/html; copiousoutput;
+# application/pdf; mutt_bgrun evince '%s'; test=test -n "$DISPLAY"; nametemplate=%s.pdf
+# image/jpeg; eog %s
+# image/png; eog %s
+# application/vnd.openxmlformats-officedocument.wordprocessingml.document; mutt_bgrun soffice %s; test=sh -c 'test $DISPLAY'