From 9c38ae0750d9ac4209fdcd3a0c43afcb3e8d9671 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Wed, 16 Sep 2026 13:17:04 +0530 Subject: fix(communication/neomutt): fixed html body rendering with chawan --- modules/communication/neomutt/default.nix | 2 +- modules/communication/neomutt/macros.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') diff --git a/modules/communication/neomutt/default.nix b/modules/communication/neomutt/default.nix index fbcbe5c..67728d8 100644 --- a/modules/communication/neomutt/default.nix +++ b/modules/communication/neomutt/default.nix @@ -61,7 +61,7 @@ in "x-scheme-handler/mailto" = "neomutt.desktop"; }; xdg.configFile."neomutt/mailcap".text = '' - text/html; ${lib.getExe config.web.chawan.package} -o "title='neomutt'" '%s'; nametemplate=%s.html + text/html; ${lib.getExe config.web.chawan.package} '%s'; nametemplate=%s.html image/*; xdg-open '%s' & application/pdf; xdg-open '%s'; nametemplate=%s.pdf video/*; xdg-open '%s' & diff --git a/modules/communication/neomutt/macros.nix b/modules/communication/neomutt/macros.nix index 2312b78..884b6b9 100644 --- a/modules/communication/neomutt/macros.nix +++ b/modules/communication/neomutt/macros.nix @@ -24,7 +24,7 @@ # Pipe the selected attachment instead of the whole message map = [ "attach" ]; key = "gx"; - action = "${lib.getExe config.web.chawan.package} -o \"title='neomutt'\" "; + action = "${lib.getExe config.web.chawan.package} -T text/html "; } { # Clear the current limit and show every message again -- cgit v1.2.3