aerc: Add flag formatting
This commit is contained in:
parent
54ee018021
commit
a735c209f5
1 changed files with 28 additions and 0 deletions
|
|
@ -12,6 +12,34 @@ index-columns = flags>4,name<20%,subject,date>=
|
|||
this-week-time-format = Mon 02
|
||||
sidebar-width = 15
|
||||
|
||||
# column-separator = "│"
|
||||
column-flags = {{.Flags | join ""}} \
|
||||
{{map .Labels (exclude .Folder) \
|
||||
(case `^new$` (.Style "" "attention")) \
|
||||
(case `^unread$` (.Style "" "accent")) \
|
||||
(case `^attachment$` (.Style "" "subdued")) \
|
||||
(case `^replied$` (.Style "↻" "subdued")) \
|
||||
(case `^forwarded$` (.Style "f" "")) \
|
||||
(case `^flagged$` (.Style "!" "highlight")) \
|
||||
(case `^important$` (.Style "" "highlight")) \
|
||||
(default "") \
|
||||
| join "" }}
|
||||
|
||||
column-subject = {{(.Style .ThreadPrefix "subdued")}}{{if .ThreadFolded}}{{printf (.Style "%d " "subdued") .ThreadCount}}{{end}}{{.Subject}}
|
||||
|
||||
icon-new = ""
|
||||
icon-old = ""
|
||||
icon-attachment = ""
|
||||
icon-replied = ""
|
||||
icon-forwarded = ""
|
||||
icon-deleted = ""
|
||||
icon-flagged = ""
|
||||
icon-marked = ""
|
||||
icon-signed = ""
|
||||
icon-encrypted = ""
|
||||
icon-unknown = ""
|
||||
icon-invalid = ""
|
||||
|
||||
threading-enabled = true
|
||||
reverse-thread-order = true
|
||||
show-thread-context = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue