AutoYADM commit: 2025-03-20 16:30:16

This commit is contained in:
Daniel Fichtinger 2025-03-20 16:30:16 -04:00
parent c3329fbf98
commit a3a667744d

View file

@ -125,7 +125,7 @@ column-name={{.Style (index (.From | names) 0) "name"}}
column-subject={{.Style (printf "%s%s" .ThreadPrefix .Subject) "subject"}} column-subject={{.Style (printf "%s%s" .ThreadPrefix .Subject) "subject"}}
column-date={{.Style (.DateAutoFormat .Date.Local) "date"}} column-date={{.Style (.DateAutoFormat .Date.Local) "date"}}
# column-labels = ({{.Style (.Labels | join " ") "labels"}}) # column-labels = ({{.Style (.Labels | join " ") "labels"}})
column-labels = {{.StyleMap (.Labels | join "," | replace `\bArchive(/|$|,)` `A$1` | replace `\bLists(/|$|,)` `L$1` | split "," ) (exclude `Inbox`) (case `^A/.*` "labels") (default "labels") | join ","}} column-labels = {{.StyleMap (.Labels | join "," | replace `\bArchive(/|$|,)` `A$1` | replace `\bLists(/|$|,)` `L$1` | replace `Sourcehut` `Srht` | replace `Recipt` `Rcpt` | replace `Inbox` `I` | replace `Sent` `S` | replace `Draft(s)?` `Dr` | replace `Snoozed` `Snz` | split "," ) (if match .Folder `Inbox` exclude `I`) (case `^A/.*` "labels") (default "labels") | join ","}}
# #
# String separator inserted between columns. When the column width specifier is # String separator inserted between columns. When the column width specifier is