aerc: Add flag formatting
This commit is contained in:
parent
4ab05e738a
commit
d92eaad036
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
|
this-week-time-format = Mon 02
|
||||||
sidebar-width = 15
|
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
|
threading-enabled = true
|
||||||
reverse-thread-order = true
|
reverse-thread-order = true
|
||||||
show-thread-context = true
|
show-thread-context = true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue