From 0dfdabd3d7c2aaee37900103c37a96317f3ada07 Mon Sep 17 00:00:00 2001 From: Justin Gassner Date: Wed, 10 Jan 2024 13:29:11 +0100 Subject: config --- .config/mutt/mailcap | 4 ++++ .config/mutt/muttrc | 44 ++++++++++++++++++++++++++++++++++++++++++++ .config/mutt/solarized-dark | 43 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 91 insertions(+) create mode 100644 .config/mutt/mailcap create mode 100644 .config/mutt/muttrc create mode 100644 .config/mutt/solarized-dark (limited to '.config/mutt') diff --git a/.config/mutt/mailcap b/.config/mutt/mailcap new file mode 100644 index 0000000..c79abcf --- /dev/null +++ b/.config/mutt/mailcap @@ -0,0 +1,4 @@ +application/pdf; zathura %s +image/*; nsxiv -b %s +#text/html; chromium %s &> /dev/null; nametemplate=%s.html +text/html; /usr/bin/xdg-open %s ; nametemplate=%s.html; copiousoutput 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 '1' ':set from=justin.gassner@mailbox.org' +macro generic '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 -- cgit v1.2.3-54-g00ecf