From b2e2c7f23e7270c29dba55303a00ed4859772e10 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 6 Nov 2019 09:14:44 +1300 Subject: [PATCH] try displaying time for message if sent today --- .mutt/confvars | 2 +- .mutt/hooks | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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 -- 2.39.2