aboutsummaryrefslogtreecommitdiff
path: root/mailcap
diff options
context:
space:
mode:
Diffstat (limited to 'mailcap')
-rw-r--r--mailcap11
1 files changed, 11 insertions, 0 deletions
diff --git a/mailcap b/mailcap
new file mode 100644
index 0000000..ea9fd6b
--- /dev/null
+++ b/mailcap
@@ -0,0 +1,11 @@
+#
+text/html; librewolf %s;
+text/html; cha -T text/html %s;copiousoutput;
+#
+audio/*; cp %s ~/neomutt/tmp \; vlc ~/neomutt/tmp/$(basename %s) > /dev/null 2>&1 &
+image/*; cp %s ~/neomutt/tmp \; ristretto ~/neomutt/tmp/$(basename %s) > /dev/null 2>&1 &
+#
+application/ics; /usr/bin/calcurse -i %s && notify-send "Entry added to calendar 📅"
+text/calendar; /usr/bin/calcurse -i %s && notify-send "Entry added to calendar 📅"
+text/x-vcard; ~/neomutt/bin/mutt.vcard.filter; copiousoutput;
+application/*; cp %s ~/neomutt/tmp \; xdg-open ~/neomutt/tmp/$(basename %s) > /dev/null 2>&1 &