]> gitweb.michael.orlitzky.com - mutt.git/blob - hooks
folders: drop imap_check_subscribed in favor of explicit list.
[mutt.git] / hooks
1 # The "33" is a magic number, totaling the number of characters in the
2 # non-subject/author fields.
3 #
4 # We need a special rule for the "Sent" folder so it shows the "To"
5 # address instead of the "From" address.
6 #
7 folder-hook .*[sS]ent.* 'set my_col_from = `echo $((30 * ($(tput cols)-33) / 100))`; set my_col_subject = `echo $((70 * ($(tput cols)-33) / 100))`; set index_format="%D | %Z %-$my_col_from.${my_col_from}t %-$my_col_subject.${my_col_subject}s (%-4.4c)"'
8
9 folder-hook ! .*[sS]ent.* 'set my_col_from = `echo $((30 * ($(tput cols)-33) / 100))`; set my_col_subject = `echo $((70 * ($(tput cols)-33) / 100))`; set index_format="%D | %Z %-$my_col_from.${my_col_from}F %-$my_col_subject.${my_col_subject}s (%-4.4c)"'