From eeee4128e71b17a59efc93b76d264b7a25cead44 Mon Sep 17 00:00:00 2001 From: Luca Matei Pintilie Date: Mon, 16 Oct 2023 21:26:42 +0200 Subject: aerc: Color scheme updates --- .config/aerc/aerc.conf | 19 +++++++++++++++++-- .config/aerc/dracula.conf | 10 ++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) (limited to '.config') diff --git a/.config/aerc/aerc.conf b/.config/aerc/aerc.conf index b000c04..1531a97 100644 --- a/.config/aerc/aerc.conf +++ b/.config/aerc/aerc.conf @@ -1,5 +1,6 @@ # # aerc main configuration +# vi: ft=dosini [general] # @@ -63,6 +64,20 @@ # # Default: date<20,name<17,flags>4,subject<* #index-columns=date<20,name<17,flags>4,subject<* +index-columns = star:1,name<15%,reply:1,subject,labels>=,size>=,date>= +column-star = {{if .IsFlagged}}★{{end}} +column-name = {{if eq .Role "sent" }}To: {{.Style (.To | names | join ", ") "to"}}{{ \ + else }}{{.Style ( .From | names | join ", ") "from"}}{{ end }} +column-reply = {{.Style .ThreadPrefix "thread"}}{{if .IsReplied}}{{end}} +column-subject = {{.Style .ThreadPrefix "thread"}}{{ if .ThreadFolded}}{{ \ + .Style (printf "%d*" .ThreadCount) "thread"}}{{end}}{{ \ + .StyleSwitch .Subject (case `^(\[[\w-]+\]\s*)?\[(RFC )?PATCH` "patch") (case `^(Re|SV):` "reply") (case `^Fwd:` "forward") (default "subject")}} +column-labels = {{.StyleMap .Labels \ + (exclude .Folder) \ + (default "thread") \ + | join " "}} +column-size = {{if .HasAttachment}}📎 {{end}}{{humanReadable .Size}} +column-date = {{.DateAutoFormat .Date.Local}} # # Each name in index-columns must have a corresponding column-$name setting. @@ -285,12 +300,12 @@ icon-invalid=⚠ # (IMAP server or notmuch), threads will be built by the client. # # Default: false -#threading-enabled=false +threading-enabled=true # Force client-side thread building # # Default: false -#force-client-threads=false +force-client-threads=false # Debounce client-side thread building # diff --git a/.config/aerc/dracula.conf b/.config/aerc/dracula.conf index 20c6c11..96dd6d1 100644 --- a/.config/aerc/dracula.conf +++ b/.config/aerc/dracula.conf @@ -6,6 +6,7 @@ # the aerc-stylesets(7) manpage. Please read the manual before # modifying or creating a styleset. # +# vi: ft=dosini *.default=true @@ -64,3 +65,12 @@ border.fg=#20212b selector_focused.reverse=true selector_chooser.bold=true + +[user] +from.fg=#f1fa8c +to.fg=#8be9fd +subject.fg=#50fa7b +reply.fg=#ff79c6 +forward.fg=#ffb86c +thread.fg=#9c7adf + -- cgit v1.2.3