[user/malte] Improve mailcap file

This commit is contained in:
Malte Tammena 2022-05-02 10:45:12 +02:00
parent 9a9ace6932
commit dd3d272863

View file

@ -124,11 +124,11 @@
# application/vnd.oasis.opendocument.text; ~/dotfiles/office/view-attachment.sh %s "-" '/Applications/LibreOffice.app'
# HTML
text/html; ${pkgs.w3m}/bin/w3m -I %{charset} -T text/html; copiousoutput;
text/plain; kak %s
text/html; ${pkgs.w3m}/bin/w3m -I %{charset} -T text/html -o display_link_number=true; copiousoutput;
text/plain; ${pkgs.bat}/bin/bat %s
#PDFs
application/pdf; ${pkgs.zathura}/bin/zathura %s pdf --fork
application/pdf; ${pkgs.zathura}/bin/zathura --fork %s
#Images
image/png; ${pkgs.feh}/bin/feh -. %s