diff options
author | Justin Gassner <justin.gassner@mailbox.org> | 2023-08-25 17:55:32 +0200 |
---|---|---|
committer | Justin Gassner <justin.gassner@mailbox.org> | 2023-09-18 12:39:47 +0200 |
commit | 159003fd48ef797dc9ef9d52fc753bec8d8ff72b (patch) | |
tree | ff542e87318854a46c93a73d3d1ce202929a1947 /.config/mutt | |
parent | afb499d81dc22ccc00fbd999862360a3e6f16cdb (diff) | |
download | dotfiles-159003fd48ef797dc9ef9d52fc753bec8d8ff72b.tar.zst |
configx1
Diffstat (limited to '.config/mutt')
-rw-r--r-- | .config/mutt/mailcap | 3 | ||||
-rw-r--r-- | .config/mutt/muttrc | 44 | ||||
-rw-r--r-- | .config/mutt/solarized-dark | 43 |
3 files changed, 90 insertions, 0 deletions
diff --git a/.config/mutt/mailcap b/.config/mutt/mailcap new file mode 100644 index 0000000..ce60481 --- /dev/null +++ b/.config/mutt/mailcap @@ -0,0 +1,3 @@ +application/pdf; zathura %s +image/*; nsxiv -b %s +text/html; chromium %s &> /dev/null; nametemplate=%s.html diff --git a/.config/mutt/muttrc b/.config/mutt/muttrc new file mode 100644 index 0000000..8d3d61d --- /dev/null +++ b/.config/mutt/muttrc @@ -0,0 +1,44 @@ +# mutt configuration + +set folder = "$MAIL" +set mbox_type = "Maildir" +set spoolfile = '+inbox' +set postponed = '+drafts' +set record = '+sent' + +set sendmail = '/usr/bin/msmtp' +set use_from = yes +set realname = 'Justin Gassner' +set from = 'justin.gassner@mailbox.org' +set envelope_from = yes + +set send_charset = 'utf-8' +set pager_index_lines = 10 + +set mailcap_path = ~/.config/mutt/mailcap + +ignore * +unignore from subject to cc + +set crypt_use_gpgme = yes +set crypt_replysign = yes +set crypt_replyencrypt = yes +set crypt_replysignencrypted = yes +set crypt_verify_sig = yes + +source ~/.config/mutt/solarized-dark + +set alias_file = ~/.local/share/mutt/aliases +source $alias_file + +bind index g first-entry +bind index G last-entry +bind pager g top +bind pager G bottom +bind pager j next-line +bind pager k previous-line + +macro generic '<esc>1' ':set from=justin.gassner@mailbox.org' +macro generic '<esc>2' ':set from=justin.gassner@fau.de' + +# vim: ft=muttrc diff --git a/.config/mutt/solarized-dark b/.config/mutt/solarized-dark new file mode 100644 index 0000000..4e51c68 --- /dev/null +++ b/.config/mutt/solarized-dark @@ -0,0 +1,43 @@ +# dark solarized colorscheme for mutt + +color normal color12 default +color error color1 default +color tilde color10 default +color message color6 default +color markers color10 default +color attachment white default +color status color7 color11 +color tree yellow default + +color index color11 default ~R # read messages +color index color6 default ~N # new messages +color index color6 default ~O # old messages +color index color5 default ~F # flagged +color index color8 color1 ~D # deleted messages + +color hdrdefault color12 color0 +color header color4 color0 "^(Subject)" + +color quoted color4 default +color quoted1 color6 default +color quoted2 color2 default +color quoted3 color3 default +color quoted4 color9 default +color quoted5 color1 default + +color signature color11 default + +color bold black default +color underline black default +color normal default default + +color body color1 default "(BAD signature)" +color body color3 default "(Problem signature)" +color body color2 default "(Good signature)" +color body color3 default "(Warning)" +color body color3 default "(WARNING)" +color body color2 default "Good" +color body brightyellow default "^gpg: " +color body brightyellow red "^gpg: BAD signature from.*" + +# vim: ft=muttrc |