aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Matei Pintilie <luca@lucamatei.com>2023-10-16 19:26:42 +0000
committerLuca Matei Pintilie <luca@lucamatei.com>2023-10-16 19:26:42 +0000
commiteeee4128e71b17a59efc93b76d264b7a25cead44 (patch)
treec0cd5f8ebd9478fe62ad316ae239f6f4853eb84d
parentf1b9413acc4248547eb082cf02129f7c739aedb0 (diff)
downloaddotfiles-eeee4128e71b17a59efc93b76d264b7a25cead44.tar
dotfiles-eeee4128e71b17a59efc93b76d264b7a25cead44.tar.gz
dotfiles-eeee4128e71b17a59efc93b76d264b7a25cead44.tar.bz2
dotfiles-eeee4128e71b17a59efc93b76d264b7a25cead44.tar.lz
dotfiles-eeee4128e71b17a59efc93b76d264b7a25cead44.tar.xz
dotfiles-eeee4128e71b17a59efc93b76d264b7a25cead44.tar.zst
dotfiles-eeee4128e71b17a59efc93b76d264b7a25cead44.zip
aerc: Color scheme updates
-rw-r--r--.config/aerc/aerc.conf19
-rw-r--r--.config/aerc/dracula.conf10
2 files changed, 27 insertions, 2 deletions
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
+