From dd3d2728639d0f997c4a7221ea59630e43a36b50 Mon Sep 17 00:00:00 2001 From: Malte Tammena Date: Mon, 2 May 2022 10:45:12 +0200 Subject: [PATCH] [user/malte] Improve mailcap file --- users/malte/mail.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/users/malte/mail.nix b/users/malte/mail.nix index c528864..f71e84a 100644 --- a/users/malte/mail.nix +++ b/users/malte/mail.nix @@ -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