From: martin f. krafft Date: Tue, 5 Nov 2019 20:14:44 +0000 (+1300) Subject: try displaying time for message if sent today X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/b2e2c7f23e7270c29dba55303a00ed4859772e10?ds=sidebyside;hp=0e22b3603ff0a4f8c672ff9585b32ccb2ee4c424 try displaying time for message if sent today --- diff --git a/.mutt/confvars b/.mutt/confvars index 06bf1c5..45f2cc7 100644 --- a/.mutt/confvars +++ b/.mutt/confvars @@ -785,7 +785,7 @@ set crypt_use_pka=yes # string is a bang, the bang is discarded, and the month and week day names in # the rest of the string are expanded in the C locale (that is in US English). # -set date_format="%F %T%Z" +set date_format="%F" # 3.55. default_hook diff --git a/.mutt/hooks b/.mutt/hooks index 15b951e..e930d9b 100644 --- a/.mutt/hooks +++ b/.mutt/hooks @@ -25,7 +25,7 @@ message-hook . 'set attribution="$my_attribution_en"' message-hook '~b "\b(Danke|Grü(ß|ss)e|Gru(ß|ss)|Lieber?|geehrter?|Herr|Frau|Moin|Servus|Lg|Deine?|Ihre?)\b"' 'set attribution="$my_attribution_de"' # do not get spam status via imap, as it would download the entire message -folder-hook . 'set index_format="%4C %Z %{%F} %-15.15F %4c%?M?/[%M]? %?H?[%H] ?%s"' +folder-hook . 'set index_format="%4C %Z %-10@date@ %-15.15F %4c%?M?/[%M]? %?H?[%H] ?%s"' folder-hook feeds 'set index_format="%3C %{%F} %-7.7F %s"' folder-hook imaps?:// 'set index_format="%4C %Z %{%F} %-15.15F %4c%?M?/[%M] & ?%s"' @@ -47,4 +47,7 @@ folder-hook store push '~O|~Nn~D' +index-format-hook date "~d<1d" "%{%H:%M%Z}" +index-format-hook date "~A" "%d" + # vim:ft=muttrc