]> gitweb.michael.orlitzky.com - mutt.git/blobdiff - hooks
Add a toggle to enable/disable the sidebar.
[mutt.git] / hooks
diff --git a/hooks b/hooks
deleted file mode 100644 (file)
index 83728ae..0000000
--- a/hooks
+++ /dev/null
@@ -1,9 +0,0 @@
-# The "33" is a magic number, totaling the number of characters in the
-# non-subject/author fields.
-#
-# We need a special rule for the "Sent" folder so it shows the "To"
-# address instead of the "From" address.
-#
-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)"'
-
-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)"'