mailcap: hardcode elinks

main
Motiejus Jakštys 2024-04-30 00:04:34 +03:00
parent bd7c4a081f
commit 8e527ad51f
2 changed files with 7 additions and 2 deletions

View File

@ -306,7 +306,12 @@ in {
extraConfig = ''
set index_format="%4C %Z %{%F %H:%M} %-15.15L (%?l?%4l&%4c?) %s"
set mailcap_path = ${./mailcap}
set mailcap_path = ${
pkgs.substituteAll {
src = ./mailcap;
inherit (pkgs) elinks;
}
}
auto_view text/html
unset record
set send_charset="utf-8"

View File

@ -1,3 +1,3 @@
text/html; elinks -dump ; copiousoutput;
text/html; @elinks@/bin/elinks -dump ; copiousoutput;
application/*; xdg-open %s &> /dev/null &;
image/*; xdg-open %s &> /dev/null &;