# vim: filetype=neomuttrc

# Author: Sheoak https://github.com/ceuk/mutt_dotfiles
# Modified by Deadguy
set date_format = "%a %d %h %H:%M"
set index_format=" %zs %zc %zt  %<[y?%<[m?%<[d?%[%R ]&%[%a %d]>&%[%b %d]>&%[%F ]>   %-28.28L  %?K?%15.14K&               ?  %?M?(%1M)&  ? %?X? & ? %s %> %?g?%g?"

set pager_format="\n%n %T  %s%*   %{!%F · %R} %?X?  %X? %P\n \n"
set status_format = "  %f %?r?  %m ?%?n?  %n ?%?d?  %d ?%?t?  %t ?%?F?  %F ?%?p?  %p?  %> %P\n \n"
set vfolder_format = " %N %?n?%3n&   ?  %8m   · %f"
set attach_format = "%u%D   %T%-75.75d %?T?%&   ?  %5s · %m/%M"
index-format-hook attachment_info '=B text/calendar ~X 1' ' '
index-format-hook attachment_info '=B text/calendar' "  "
index-format-hook attachment_info '~X 1' "  "
index-format-hook attachment_info '~A' "   "

# not addressed to me, to me, not only recipient, cc, sent by me, mailing list, reply-to
# set to_chars=" "
set to_chars=" "
# unchanged mailbox, changed, read only, attach mode
set status_chars = " "
ifdef crypt_chars set crypt_chars = "  "
set flag_chars = "    "

tag-transforms "replied" " "  \
               "encrytpted" " " \
               "signed" " " \
               "attachment" " " \

# The formats must start with 'G' and the entire sequence is case sensitive.
tag-formats "replied" "GR" \
            "encrypted" "GE" \
            "signed" "GS" \
            "attachment" "GA" \

color status white default
# powerline status bar hack
color status color12 default '([a-zA-Z0-9])(\s)'
color status color12 default '(\s)([a-zA-Z0-9])'
color status color12 default '( )'
color status color12 default '(\S)'
color status color0 default '(|)'
color status green default ' '
color status white default ' '
color status yellow default ' '
color status red default ' '
color tree   color15 default
