AutoYADM commit: 2025-03-20 16:35:17

This commit is contained in:
Daniel Fichtinger 2025-03-20 16:35:17 -04:00
parent a3a667744d
commit 493da68b19
2 changed files with 3 additions and 2 deletions

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` | 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 ","}} 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 "," ) (exclude `I`) (case `^A(/)?.*` "archive") (case `^L(/)?.*` "lists") (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

View file

@ -100,7 +100,8 @@ quote_x.italic = true
quote_x.dim= true quote_x.dim= true
[user] [user]
labels.fg = #B14242 labels.fg = #C4693D
archive.fg = #B14242
name.fg = #b4b4b4 name.fg = #b4b4b4
# labels.italic = true # labels.italic = true
subject.fg = #B14242 subject.fg = #B14242