From 65bac85d331a2506bfc02a26f4a2ea861af974c5 Mon Sep 17 00:00:00 2001 From: Daniel Fichtinger Date: Thu, 20 Mar 2025 15:45:17 -0400 Subject: [PATCH] AutoYADM commit: 2025-03-20 15:45:17 --- .config/aerc/aerc.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf index cf5fbada..4255ebcb 100644 --- a/.config/aerc/aerc.conf +++ b/.config/aerc/aerc.conf @@ -124,7 +124,8 @@ column-name={{.Style (index (.From | names) 0) "name"}} # column-subject={{.Style (.ThreadPrefix) "style-name"}}{{.Subject}} column-subject={{.Style (printf "%s%s" .ThreadPrefix .Subject) "subject"}} column-date={{.Style (.DateAutoFormat .Date.Local) "date"}} -column-labels = ({{.Style (.Labels | join " ") "labels"}}) +# column-labels = ({{.Style (.Labels | join " ") "labels"}}) +column-labels = ({{.StyleMap .Labels (exclude .Folder) (exclude `^spam$`) (case `^inbox$` "red") (case `^Archive/.*` "green") (default "labels") | join " "}}) # # String separator inserted between columns. When the column width specifier is