From e05f450039be9c49160a3c95de15fca630e00657 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 12 Mar 2019 10:03:33 -0700 Subject: Add alot with html email viewing --- email.nix | 8 ++++++++ mailcap | 2 +- packages.nix | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/email.nix b/email.nix index b8d9e3f..da1c3e0 100644 --- a/email.nix +++ b/email.nix @@ -12,6 +12,7 @@ in primary = true; realName = "Ben Sima"; address = "ben@bsima.me"; + alot.sendMailCommand = "${homedir}/bin/sendmail"; folders = { inbox = "INBOX"; }; @@ -120,6 +121,13 @@ in extraConfig = builtins.readFile ./afew.ini; }; + alot = { + enable = true; + extraConfig = '' + theme = solarized_light + ''; + }; + mbsync = { enable = true; }; diff --git a/mailcap b/mailcap index a67c182..5cce027 100644 --- a/mailcap +++ b/mailcap @@ -1,4 +1,4 @@ -text/html; w3m -I %{charset} -T text/html; copiousoutput; +text/html; w3m -dump -o document_charset=%{charset} '%s'; nametemplate=%s.html; copiousoutput application/pdf; apvlv %s image/*; feh %s application/msword; antiword %s; copiousoutput diff --git a/packages.nix b/packages.nix index e2b5242..6804a72 100644 --- a/packages.nix +++ b/packages.nix @@ -35,6 +35,7 @@ tmux tree unrar urlscan +w3m xterm yank youtube-dl -- cgit v1.2.3