mirror of
https://github.com/youwen5/liminalOS.git
synced 2025-06-20 22:19:52 -07:00
feat: neomutt auto open html emails in w3m
This commit is contained in:
parent
c8700244d7
commit
3a6f88043e
2 changed files with 19 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
|
||||
imports = [
|
||||
|
@ -44,4 +44,10 @@
|
|||
};
|
||||
addKeysToAgent = "yes";
|
||||
};
|
||||
|
||||
# text/html; ~/.mutt/view_attachment.sh %s html; test=test -n "$DISPLAY"
|
||||
home.file.".mailcap".text = ''
|
||||
text/html; ${pkgs.w3m}/bin/w3m %s; nametemplate=%s.html; needsterminal
|
||||
text/html; ${pkgs.w3m}/bin/w3m -v -F -T text/html -dump %s; copiousoutput
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue