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 index_format="%4C %Z %{%F %H:%M} %-15.15L (%?l?%4l&%4c?) %s"
|
||||||
|
|
||||||
set mailcap_path = ${
|
set mailcap_path = ${
|
||||||
pkgs.substituteAll {
|
pkgs.writeText "mailcaprc" ''
|
||||||
src = ./mailcap;
|
text/html; ${pkgs.elinks}/bin/elinks -dump ; copiousoutput;
|
||||||
inherit (pkgs) elinks;
|
application/*; ${pkgs.xdg-utils}/bin/xdg-open %s &> /dev/null &;
|
||||||
}
|
image/*; ${pkgs.xdg-utils}/bin/xdg-open %s &> /dev/null &;
|
||||||
|
''
|
||||||
}
|
}
|
||||||
auto_view text/html
|
auto_view text/html
|
||||||
unset record
|
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