myconfig

my config files
git clone https://a3nm.net/git/myconfig/
Log | Files | Refs | README

mailcap (1528B)


      1 application/pdf; ~/bin/mutt_bgrun_evince '%s'; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf
      2 application/x-pdf; ~/bin/mutt_bgrun_evince '%s'; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf
      3 
      4 image/gif; /usr/bin/mplayer '%s'
      5 image/*; /usr/bin/feh -.Z '%s'
      6 
      7 # mutt is a profile configured to use a proxy that does not really exist
      8 # to ensure that external resources cannot get loaded
      9 # TODO -no-remote allows only one instance at a time, but -P requires it...
     10 text/html; ~/bin/mutt_bgrun /usr/bin/firefox -P mutt -no-remote %s; nametemplate=%s.html
     11 application/xhtml+xml; ~/bin/mutt_bgrun /usr/bin/firefox -P mutt -no-remote %s; nametemplate=%s.html
     12 
     13 # dump with colors, remove useless whitespace
     14 text/html; iconv -f %{charset} %s | elinks -dump %{charset} -dump -dump-color-mode 1 /dev/stdin 2>/dev/null | sed 's/ *$//' | sed 's/   //'; copiousoutput
     15 application/xhtml+xml; iconv -f %{charset} %s | elinks -dump %{charset} -dump -dump-color-mode 1 /dev/stdin 2>/dev/null | sed 's/ *$//' | sed 's/   //'; copiousoutput
     16 
     17 application/docx; libreoffice '%s'; test=test -n "$DISPLAY"
     18 application/doc; libreoffice '%s'; test=test -n "$DISPLAY"
     19 application/vnd.openxmlformats; libreoffice '%s'; test=test -n "$DISPLAY"
     20 application/x-mobi8-ebook; ebook-edit %s; test=test -n "$DISPLAY"
     21 application/epub+zip; fbreader %s; test=test -n "$DISPLAY"
     22 application/vnd.openxmlformats-officedocument.wordprocessingml.document; libreoffice %s; test=test -n "$DISPLAY"