diff options
author | Brahmajit Das <brahmajit.xyz@gmail.com> | 2025-01-01 03:14:19 +0530 |
---|---|---|
committer | Brahmajit Das <brahmajit.xyz@gmail.com> | 2025-01-01 03:14:19 +0530 |
commit | 054a2490db36734733d5515b58b1081ba668f12e (patch) | |
tree | c7e8190ecc5830df2ef6f9f07d5f9a37a3cf4db8 | |
parent | 4839689a2836a2bd11a9cf598c75ec511fc89976 (diff) |
(neo)mutt config for work email
Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
-rw-r--r-- | .config/neomutt/gmail_main | 6 | ||||
-rw-r--r-- | .config/neomutt/neomuttrc | 13 | ||||
-rw-r--r-- | .config/neomutt/suse_de | 2 |
3 files changed, 17 insertions, 4 deletions
diff --git a/.config/neomutt/gmail_main b/.config/neomutt/gmail_main index 071943a..125a88a 100644 --- a/.config/neomutt/gmail_main +++ b/.config/neomutt/gmail_main @@ -1,3 +1,5 @@ +unmailboxes * + # Unset to properly repopulate the variables unset smtp_pass unset smtp_url @@ -43,9 +45,9 @@ unset record ## Send options set smtp_url=smtps://`pass show gmail/work/name`:`pass show gmail/work/mutt`@smtp.gmail.com -set from=`pass show gmail/work/name` +set from=`pass show gmail/work/name`@gmail.com set hostname="gmail.com" -set realname='listout' +set realname='Brahmajit' set use_from=yes set signature="$HOME/.config/neomutt/signature" diff --git a/.config/neomutt/neomuttrc b/.config/neomutt/neomuttrc index 372b760..55a6d5a 100644 --- a/.config/neomutt/neomuttrc +++ b/.config/neomutt/neomuttrc @@ -1,5 +1,5 @@ # vim: set ft=muttrc: -set editor="/usr/bin/nvim" +set editor="nvim" set sendmail="/usr/bin/msmtp" @@ -66,6 +66,15 @@ macro attach,compose \cb "<pipe-entry> urlscan<Enter>" "call urlscan to extract set alias_file="$HOME/.config/neomutt/aliases" source "$HOME/.config/neomutt/aliases" +folder-hook $folder 'source ~/.config/neomutt/suse_de' +folder-hook $folder 'source ~/.config/neomutt/gmail_main' + ## ACCOUNT 1 source "~/.config/neomutt/suse_de" -# folder-hook $folder 'source ~/.config/neomutt/suse_de' + +## ACCOUNT 2 +# source "~/.config/neomutt/gmail_main" + +## Shortcuts +macro index,pager <f2> '<sync-mailbox><enter-command>source ~/.config/neomutt/suse_de<enter><change-folder>!<enter>' +macro index,pager <f3> '<sync-mailbox><enter-command>source ~/.config/neomutt/gmail_main<enter><change-folder>!<enter>' diff --git a/.config/neomutt/suse_de b/.config/neomutt/suse_de index 4a5888d..fd87432 100644 --- a/.config/neomutt/suse_de +++ b/.config/neomutt/suse_de @@ -1,3 +1,5 @@ +unmailboxes * + # Unset to properly repopulate the variables unset smtp_pass unset smtp_url |