Browse Source

mail: i think i'm done for now

rework-profiles
parent
commit
39a2a206f5
Signed by: govanify GPG Key ID: DE62E1E2A6145556
3 changed files with 7 additions and 2 deletions
  1. +0
    -1
      README.md
  2. +1
    -1
      common/mail.nix
  3. +6
    -0
      dotfiles/mail/mutt/mutt-main.muttrc

+ 0
- 1
README.md View File

@ -11,7 +11,6 @@ Currently the machines populated by this configuration are:
TODo list sorted by priority:
* security: redirect IPv6 through tor
* workflow: weechat-matrix and vim-prosession
* mail: make your replies appear in threads
* locale: SOMEFUCKINGHOW ibus sometimes works and sometimes doesn't. wtf?
* security: security hardening through sandboxing
* workflow: set up patchouli to have regular and automated backups


+ 1
- 1
common/mail.nix View File

@ -2,7 +2,7 @@
# basic set of tools & ssh
environment.systemPackages = with pkgs; [
neomutt msmtp isync notmuch abook lynx
neomutt msmtp isync notmuch abook lynx notmuch-mutt
];
# XDG_CONFIG_HOME does not get parsed correctly so we do it manually


+ 6
- 0
dotfiles/mail/mutt/mutt-main.muttrc View File

@ -75,6 +75,12 @@ bind pager \031 previous-line # Mouse wheel
bind pager \005 next-line # Mouse wheel
bind editor <Tab> complete-query
bind index,pager x entire-thread
macro index <F9> \
"<enter-command>set my_old_pipe_decode=\$pipe_decode nopipe_decode nowait_key<enter>\
<pipe-message>notmuch-mutt -r thread<enter>\
<change-folder-readonly>`echo ${XDG_CACHE_HOME:-$HOME/.cache}/notmuch/mutt/results`<enter>\
<enter-command>set pipe_decode=\$my_old_pipe_decode wait_key<enter>" \
"notmuch: reconstruct thread"
macro index,pager S "<sync-mailbox><shell-escape>~/.config/mutt/mailsync.sh &> /dev/null &<enter>" "flush all changes and synchronize"


Loading…
Cancel
Save