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