neomutt: fix mailcaprc
This commit is contained in:
parent
49fe0046c1
commit
e13bb2cdef
@ -307,10 +307,11 @@ in {
|
||||
set index_format="%4C %Z %{%F %H:%M} %-15.15L (%?l?%4l&%4c?) %s"
|
||||
|
||||
set mailcap_path = ${
|
||||
pkgs.substituteAll {
|
||||
src = ./mailcap;
|
||||
inherit (pkgs) elinks;
|
||||
}
|
||||
pkgs.writeText "mailcaprc" ''
|
||||
text/html; ${pkgs.elinks}/bin/elinks -dump ; copiousoutput;
|
||||
application/*; ${pkgs.xdg-utils}/bin/xdg-open %s &> /dev/null &;
|
||||
image/*; ${pkgs.xdg-utils}/bin/xdg-open %s &> /dev/null &;
|
||||
''
|
||||
}
|
||||
auto_view text/html
|
||||
unset record
|
||||
|
@ -1,3 +0,0 @@
|
||||
text/html; @elinks@/bin/elinks -dump ; copiousoutput;
|
||||
application/*; xdg-open %s &> /dev/null &;
|
||||
image/*; xdg-open %s &> /dev/null &;
|
Loading…
Reference in New Issue
Block a user