commit 49e22ea935ec14ebf67008689f1795ebf33d0584 parent e323e40f8a218c7b37499d4ee3da6d90e527c8ee Author: Luke Smith <luke@lukesmith.xyz> Date: Tue, 24 Jul 2018 00:00:01 -0400 mailcap cleanup Diffstat:
M | etc/mailcap | | | 15 | ++++----------- |
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git 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;