diff --git a/etc/mailcap b/etc/mailcap index 1e9a613..c31107e 100644 --- a/etc/mailcap +++ b/etc/mailcap @@ -1,13 +1,6 @@ -#text/html; qutebrowser %s &; test=test -n "$DISPLAY"; needsterminal; - -#text/html; $BROWSER %s 2>/dev/null & disown; copiousoutput; +text/plain; vim %s ; +text/html; $BROWSER '%s' ; text/html; w3m -I %{charset} -T text/html; copiousoutput; - -application/pdf; mv %s %s.pdf && i3 exec mupdf %s.pdf > /dev/null; needsterminal; - image/*; ~/.config/mutt/etc/muttimage.sh %s ; copiousoutput - -#application/pdf; pdftotext '%s' -; copiousoutput; description=PDF Document; -#nametemplate=%s.pdf -# -text/plain; vim %s ; +video/*; setsid nohup mpv --quiet %s & disown; copiousoutput +application/pdf; pdftotext '%s' -; copiousoutput;