aboutsummaryrefslogtreecommitdiffstats
path: root/config/aerc.conf
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2024-02-10 00:47:04 +0100
committerRobin Jarry <robin@jarry.cc>2024-02-14 23:05:06 +0100
commit2e5d9536412ddbb8d1a2bc71efe84040857b30a3 (patch)
tree1c0b1294769dd91e95497d92d88ce7e25ce43fff /config/aerc.conf
parentdf38d15b12de49e869121f02bbd69ff777f9e885 (diff)
downloadaerc-2e5d9536412ddbb8d1a2bc71efe84040857b30a3.tar.gz
config: change default appearance
The default styleset and ui settings are quite dull and don't make use of the "newer" features that have been added to aerc in the past two years. Change the default styleset to something more colorful that renders correctly on both dark and light backgrounds. Change the default ui settings to get something more appealing to new users. Save the previous default color theme to a new `monochrome` styleset. Changelog-changed: The default `[ui]` settings and the `default` styleset have changed extensively. A no-color theme can be restored with the `monochrome` styleset. Cc: Marc Coquand <marc@mccd.space> Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Diffstat (limited to 'config/aerc.conf')
-rw-r--r--config/aerc.conf62
1 files changed, 33 insertions, 29 deletions
diff --git a/config/aerc.conf b/config/aerc.conf
index 22c6d359..51c73a8f 100644
--- a/config/aerc.conf
+++ b/config/aerc.conf
@@ -76,8 +76,8 @@
# terminal width. Fit width columns take the width of their contents. If no
# width specifier is set, '*' is used by default.
#
-# Default: date<20,name<17,flags>4,subject<*
-#index-columns=date<20,name<17,flags>4,subject<*
+# Default: flags:4,name<20%,subject,date>=
+#index-columns=flags:4,name<20%,subject,date>=
#
# Each name in index-columns must have a corresponding column-$name setting.
@@ -93,10 +93,10 @@
# column-name={{if match .Folder "^(Gesendet|Sent)$"}}{{index (.To | names) 0}}{{else}}{{index (.From | names) 0}}{{end}}
#
# Default settings
-#column-date={{.DateAutoFormat .Date.Local}}
-#column-name={{index (.From | names) 0}}
#column-flags={{.Flags | join ""}}
-#column-subject={{.ThreadPrefix}}{{if .ThreadFolded}}{{printf "{%d}" .ThreadCount}}{{end}}{{.Subject}}
+#column-name={{index (.From | names) 0}}
+#column-subject={{.ThreadPrefix}}{{.Subject}}
+#column-date={{.DateAutoFormat .Date.Local}}
#
# String separator inserted between columns. When the column width specifier is
@@ -109,31 +109,35 @@
#
# See time.Time#Format at https://godoc.org/time#Time.Format
#
-# Default: 2006-01-02 03:04 PM (ISO 8601 + 12 hour time)
-#timestamp-format=2006-01-02 03:04 PM
+# Default: 2006 Jan 02
+#timestamp-format=2006 Jan 02
#
# Index-only time format for messages that were received/sent today.
-# If this is not specified, timestamp-format is used instead.
+# If this is empty, timestamp-format is used instead.
#
-#this-day-time-format=
+# Default: 15:04
+#this-day-time-format=15:04
#
# Index-only time format for messages that were received/sent within the last
-# 7 days. If this is not specified, timestamp-format is used instead.
+# 7 days. If this is empty, timestamp-format is used instead.
#
-#this-week-time-format=
+# Default: Jan 02
+#this-week-time-format=Jan 02
#
# Index-only time format for messages that were received/sent this year.
-# If this is not specified, timestamp-format is used instead.
+# If this is empty, timestamp-format is used instead.
#
-#this-year-time-format=
+#Default: Jan 02
+#this-year-time-format=Jan 02
#
-# If set, overrides timestamp-format for the message view.
+# Overrides timestamp-format for the message view.
#
-#message-view-timestamp-format=
+# Default: 2006 Jan 02, 15:04 GMT-0700
+#message-view-timestamp-format=2006 Jan 02, 15:04 GMT-0700
#
# If set, overrides timestamp-format in the message view for messages
@@ -155,8 +159,8 @@
#
# Width of the sidebar, including the border.
#
-# Default: 20
-#sidebar-width=20
+# Default: 22
+#sidebar-width=22
#
# Message to display when viewing an empty folder.
@@ -194,14 +198,14 @@
#
# Template to use for Composer tab titles
#
-# Default: {{.Subject}}
-#tab-title-composer={{.Subject}}
+# Default: {{if .To}}to:{{index (.To | shortmboxes) 0}} {{end}}{{.SubjectBase}}
+#tab-title-composer={{if .To}}to:{{index (.To | shortmboxes) 0}} {{end}}{{.SubjectBase}}
#
# Template to use for Message Viewer tab titles
#
-# Default: {{if .Subject}}{{.Subject}}{{else}}(no subject){{end}}
-#tab-title-viewer={{if .Subject}}{{.Subject}}{{else}}(no subject){{end}}
+# Default: {{.Subject}}
+#tab-title-viewer={{.Subject}}
# Marker to show before a pinned tab's name.
@@ -218,8 +222,8 @@
# Template for the right side of the directory list.
# See aerc-templates(7) for all available fields and functions.
#
-# Default: {{if .Unread}}{{humanReadable .Unread}}/{{end}}{{if .Exists}}{{humanReadable .Exists}}{{end}}
-#dirlist-right={{if .Unread}}{{humanReadable .Unread}}/{{end}}{{if .Exists}}{{humanReadable .Exists}}{{end}}
+# Default: {{if .Unread}}{{humanReadable .Unread}}{{end}}
+#dirlist-right={{if .Unread}}{{humanReadable .Unread}}{{end}}
# Delay after which the messages are actually listed when entering a directory.
# This avoids loading messages when skipping over folders and makes the UI more
@@ -272,9 +276,9 @@
# Uncomment to use box-drawing characters for vertical and horizontal borders.
#
-# Default: " "
-#border-char-vertical=" "
-#border-char-horizontal=" "
+# Default: "│" and "─"
+#border-char-vertical="│"
+#border-char-horizontal="─"
# Sets the styleset to use for the aerc ui elements.
#
@@ -409,8 +413,8 @@
# Customize the thread prefix appearance by selecting the folded thread
# indicator.
#
-# Default: ""
-#thread-prefix-folded = ""
+# Default: "+"
+#thread-prefix-folded = "+"
#
# Customize the thread prefix appearance by selecting the unfolded thread
@@ -492,7 +496,7 @@
# Default settings
#column-left=[{{.Account}}] {{.StatusInfo}}
#column-center={{.PendingKeys}}
-#column-right={{.TrayInfo}}
+#column-right={{.TrayInfo}} | {{cwd}}
#
# String separator inserted between columns.