]> git.wh0rd.org - home.git/blobdiff - .config/mutt/formatting.rc
cros-board: update
[home.git] / .config / mutt / formatting.rc
index 6a38ba023dcd9f0fef0857fe86ffaf6540aa4dcf..6addceb7c5f35518c8a2af1ecbc8161c897fb646 100644 (file)
@@ -39,10 +39,14 @@ set date_format = "%d %b %Y %H:%M"
 # %u owner name                %>X right justify the rest and pad with "X"
 # %|X pad to the end of the line with character "X"
 #set folder_format="%3C %t %N %F %-8.8u %-8.8g %8s %d %f" # file browser menu
-#set folder_format="%F %d %8s %N %f" # file browser menu
+#set folder_format="%F  %d %8s   %f" # file browser menu
+# Since folder_format is run through system(), avoid forking another process.
+# We need to use eval to use ; since mutt will chop the string at the first one
+# it sees that isn't quoted.
+set folder_format="eval \"set -- '%f' '%F  %d %8s'; . ~/.config/mutt/folder.sh\"|"
 
 # http://www.mutt.org/doc/devel/manual.html#index-format
-set index_format = "%4C %Z %?M?»& ?%s %*  %B  %-20.20n  %D"
+set index_format = "%Z%?M?»& ?%s %*  %B %-20.20n %D"
 
 #set pager_format="-%Z- %C/%m [%[%H:%M]] %-17.17n   %s"
 
@@ -57,8 +61,13 @@ set index_format = "%4C %Z %?M?»& ?%s %*  %B  %-20.20n  %D"
 # %?<sequence_char>?<optional_string>?   print <opt> iff <seq> is non zero
 # %?<sequence_char>?<if_string>&<else_string>?
 #
-#set status_format="[%r] %h %f (%s) [%M/%m] [N=%n,*=%t,post=%p,new=%b]"
+set status_format="[%r] %h %f (%s) [%M/%m] [N=%n,*=%t,post=%p,new=%b]"
 #set status_format="-%r-%v--[%?M?%M/?%m msgs%?n?, %n new?%?d?, %d del?%?F?, %F flag?%?t?, %t tag?%?p?, %p postp?%?b?, %b inc?%?l?, %l?]--(%f)--%s/%S-%>-%P-"
 #set status_format="-%r-%v--[%?M?%M/?%m msgs%?n?, %n new?%?d?, %d del?%?F?, %F flag?%?t?, %t tag?%?p?, %p postp?%?b?, %b inc?%?l?, ?%?L?%L/?%?l?%l?]--(%f)--%s/%S-%>-%P-"
 #set status_format="-%r-%v--[%?M?%M/?%m msgs%?n?, %n new?%?d?, %d del?%?F?, %F flag?%?t?, %t tag?%?p?, %p postp?%?b?, %b inc?%?l?, %l?]--(%f)--%s-%>-%P-"
 #set status_format = "───[ Folder: %f ]───[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]───%>─%?p?( %p postponed )?───"
+
+# https://dev.mutt.org/doc/manual.html#ts-enabled
+# Set the terminal status line (title).
+set ts_enabled = yes
+set ts_status_format = "%v %h %f"