commit 70e17826b45d21bb08cb3fecc3827cbd4a5c3b1c parent 6b172bb91af769c6c70133b57b74f8589379f91e Author: Pablo Cárdenas <pablo.cardenas@imca.edu.pe> Date: Mon, 23 May 2022 12:51:21 -0500 Updated mailcap Now all applications are xdg-opened Diffstat:
| M | linux/.config/mutt/mailcap | | | 6 | ++++-- |
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/linux/.config/mutt/mailcap b/linux/.config/mutt/mailcap @@ -3,7 +3,9 @@ text/html; elinks %s; nametemplate=%s.html; text/html; elinks -dump -dump-color-mode 1; copiousoutput; #text/html; elinks -dump -dump-charset %{charset} -default-mime-type text/html %s; needsterminal; copiousoutput; -application/*; zathura %s &> /dev/null; needsterminal; nametemplate=%s.pdf; test=test -n "$DISPLAY"; +application/pdf; zathura %s &> /dev/null; needsterminal; nametemplate=%s.pdf; test=test -n "$DISPLAY"; +application/pdf; pdftotext %s -; copiousoutput; + image/*; xdg-open %s &> /dev/null; test=test -n "$DISPLAY"; -application/pdf; pdftotext %s -; copiousoutput; +application/*; xdg-open %s &> /dev/null; test=test -n "$DISPLAY";