diff --git a/cli/dot-config/neomutt/mailcap b/cli/dot-config/neomutt/mailcap new file mode 100644 index 0000000..02f29dd --- /dev/null +++ b/cli/dot-config/neomutt/mailcap @@ -0,0 +1,5 @@ +text/html; firefox %s +text/plain; nvim %s +application/pdf; zathura --fork %s +image/png; feh %s +image/jpeg; feh %s diff --git a/cli/dot-config/neomutt/neomuttrc b/cli/dot-config/neomutt/neomuttrc new file mode 100644 index 0000000..af04d3e --- /dev/null +++ b/cli/dot-config/neomutt/neomuttrc @@ -0,0 +1,108 @@ +source ~/vault/mutt_keys + + +set folder=~/mail +set spoolfile="imaps://imap.gmx.net/" + +set sidebar_visible +set header_cache = "~/.cache/mutt" +set message_cachedir = "~/.cache/mutt" +set mailcap_path = "~/.config/neomutt/mailcap" + +set mail_check = 5 +set folder=/dev/null +account-hook . 'unset imap_user; unset imap_pass; unset tunnel' +account-hook imap.gmx.net "set from=$my_user imap_user=$my_user imap_pass=$my_pass smtp_user=$my_user smtp_pass=$my_pass smtp_url=smtps://smtp.gmx.net" +account-hook email.gwdg.de "set imap_user=$my_user2 imap_pass=$my_pass2 smtp_user=$my_user2 smtp_pass=$my_pass2 smtp_url=smtps://email.gwdg.de" +account-hook imap.web.de "set imap_user=$my_user3 imap_pass=$my_pass3 smtp_user=$my_user3 smtp_pass=$my_pass3 smtp_url=smtps://smtp.web.de" +account-hook imap.mail.me.com "set imap_user=$my_user4 imap_pass=$my_pass4 smtp_user=$my_user4 smtp_pass=$my_pass4 smtp_url=smtps://smtp.mail.me.com" +named-mailboxes "UniStud" imaps://email.gwdg.de +named-mailboxes "WebHorn" imaps://imap.web.de +named-mailboxes "GmxMain" imaps://imap.gmx.net +named-mailboxes "Apple" imaps://imap.mail.me.com + +# Color definitions +set my_bg = "color236" +set my_fg = "color252" +set my_red = "color210" +set my_green = "color114" +set my_blue = "color68" +set my_aqua = "color80" +set my_yellow = "color221" +set my_orange = "color209" +set my_purple = "color176" +set my_comment = "color246" +set my_selection = "color239" +set my_current_line = "color237" + +# basic components +color hdrdefault $my_green $my_bg +color signature $my_blue $my_bg +color attachment $my_yellow $my_bg +color prompt $my_purple $my_bg +color message $my_green $my_bg +color error $my_red $my_bg +color indicator $my_fg $my_selection +color status $my_bg $my_orange +color tree $my_blue $my_bg +color normal $my_fg $my_bg +color markers $my_red $my_bg +color search $my_bg $my_yellow +color tilde $my_purple $my_bg +color underline $my_bg $my_yellow +color index $my_green $my_bg ~F +color index $my_blue $my_bg "~N|~O" + +### Highlights inside the body of a message ### + +# URLs +color body $my_aqua $my_bg "(https?|s?ftp|news|telnet|finger|ssh)://[^ \"\t\r\n]*" +color body $my_aqua $my_bg "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" +mono body bold "(https?|s?ftp|news|telnet|finger|ssh)://[^ \"\t\r\n]*" +mono body bold "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+" + +# email addresses +color body $my_blue $my_bg "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" +#mono body bold "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+" + +### Header components ### + +color header $my_green $my_bg "^from:" +color header $my_green $my_bg "^to:" +color header $my_green $my_bg "^cc:" +color header $my_green $my_bg "^date:" +color header $my_yellow $my_bg "^newsgroups:" +color header $my_yellow $my_bg "^reply-to:" +color header $my_aqua $my_bg "^subject:" +color header $my_red $my_bg "^x-spam-rule:" +color header $my_green $my_bg "^x-mailer:" +color header $my_yellow $my_bg "^message-id:" +color header $my_yellow $my_bg "^Organization:" +color header $my_yellow $my_bg "^Organisation:" +color header $my_yellow $my_bg "^User-Agent:" +color header $my_yellow $my_bg "^message-id: .*pine" +color header $my_yellow $my_bg "^X-Fnord:" +color header $my_yellow $my_bg "^X-WebTV-Stationery:" +color header $my_yellow $my_bg "^X-Message-Flag:" +color header $my_yellow $my_bg "^X-Spam-Status:" +color header $my_yellow $my_bg "^X-SpamProbe:" +color header $my_red $my_bg "^X-SpamProbe: SPAM" + +### Coloring quoted text - coloring the first 7 levels ### + +color quoted $my_aqua $my_bg +color quoted1 $my_yellow $my_bg +color quoted2 $my_red $my_bg +color quoted3 $my_green $my_bg +color quoted4 $my_aqua $my_bg +color quoted5 $my_yellow $my_bg +color quoted6 $my_red $my_bg +color quoted7 $my_green $my_bg + +### sidebar colors ### + +color sidebar_divider $my_comment $my_bg +color sidebar_flagged $my_aqua $my_bg +color sidebar_highlight $my_bg $my_yellow +color sidebar_new $my_green $my_bg +color sidebar_spoolfile $my_blue $my_bg diff --git a/home/dot-pinerc b/home/dot-pinerc index ef3cb53..6afea66 100644 --- a/home/dot-pinerc +++ b/home/dot-pinerc @@ -42,7 +42,7 @@ folder-collections=Mail mail/[], JonasWeb {imap.web.de/ssl/user=jonasahorn@web.de}[] # Set by Alpine; controls beginning-of-month sent-mail pruning. -last-time-prune-questioned=125.8 +last-time-prune-questioned=125.12 last-version-used=6.26 user-domain=hahn1.one