aboutsummaryrefslogtreecommitdiffstats
path: root/modules/communication/neomutt/neomutt.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-26 23:28:11 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-26 23:28:11 +0530
commit6910400bb38bb69a9e81b932b01fa51802cb0c47 (patch)
treed291a7c6e18b9b669b9a405cad9cfc5ba10547ee /modules/communication/neomutt/neomutt.nix
parentb93a73ba98e94cbb971dce6554c7c55bce517c0e (diff)
downloadhome-manager-config-6910400bb38bb69a9e81b932b01fa51802cb0c47.tar.gz
home-manager-config-6910400bb38bb69a9e81b932b01fa51802cb0c47.zip
feat: replace w3m with chawan for HTML rendering and web browsing
- Create web.chawan module with enable/package options, kitty desktop entry, and programs.chawan.settings (buffer.images=true, display.image-mode=auto) - Update neomutt macros, mailcap, and assertions from w3m to chawan - Switch waybar window-rewrite and workspace icon from W3M to Chawan - Drop web/w3m module
Diffstat (limited to 'modules/communication/neomutt/neomutt.nix')
-rw-r--r--modules/communication/neomutt/neomutt.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/communication/neomutt/neomutt.nix b/modules/communication/neomutt/neomutt.nix
index 792f90e..623c3dd 100644
--- a/modules/communication/neomutt/neomutt.nix
+++ b/modules/communication/neomutt/neomutt.nix
@@ -18,7 +18,7 @@
"x-scheme-handler/mailto" = "neomutt.desktop";
};
xdg.configFile."neomutt/mailcap".text = ''
- text/html; ${lib.getExe' config.web.w3m.package "w3m"} -dump -cols 100 -T text/html '%s'; copiousoutput; 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' &