$HOME is where the <3 is
git clone git://
Log | Files | Refs | Submodules | README

commit bfc61cd939e41bf598f883781c9a6f9eaa5f2119 (patch)
parent 63635955f81feb90fa3c2ceaa18f898aeee9d8fa
Author: Alex Karle <>
Date:   Thu, 13 Feb 2020 00:06:19 -0500

mutt: update mailcap for better attachment integrations

1. application/octet-stream -- open in Vim, plz

2. firefox... have to sleep for 1 on my work computer. Turns out there's
a race condition between mutt deleting the attachment and firefox
opening it:

3. Images -- just use feh. Somehow xdg-open started opening in Gimp.
Never again.

Mmutt/mailcap | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/mutt/mailcap b/mutt/mailcap @@ -1,8 +1,9 @@ # Defaults (for GUI/X) text/plain; $EDITOR '%s'; -text/html; firefox '%s' &; test=test -n "$DISPLAY"; needsterminal; +application/octet-stream; $EDITOR '%s'; +text/html; firefox '%s' & sleep 1; test=test -n "$DISPLAY"; needsterminal; text/html; w3m -I %{charset} -T text/html; copiousoutput; -image/*; xdg-open '%s' &; test=test -n "$DISPLAY"; needsterminal; +image/*; feh '%s' ; test=test -n "$DISPLAY"; needsterminal; application/pdf; xdg-open '%s' &; test=test -n "$DISPLAY"; needsterminal; # Backups for Virtual Console (needs fbida package)