summary refs log tree commit diff stats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/aerc.conf.in5
-rw-r--r--config/config.go2
2 files changed, 7 insertions, 0 deletions
diff --git a/config/aerc.conf.in b/config/aerc.conf.in
index 39548cd..2f9f264 100644
--- a/config/aerc.conf.in
+++ b/config/aerc.conf.in
@@ -43,6 +43,11 @@ mouse-enabled=false
 # Default: yes
 new-message-bell=true
 
+# Marker to show before a pinned tab's name.
+#
+# Default: `
+pinned-tab-marker=`
+
 # Describes the format string to use for the directory list
 #
 # Default: %n %>r
diff --git a/config/config.go b/config/config.go
index 0393e46..5794388 100644
--- a/config/config.go
+++ b/config/config.go
@@ -31,6 +31,7 @@ type UIConfig struct {
 	TimestampFormat     string        `ini:"timestamp-format"`
 	ShowHeaders         []string      `delim:","`
 	RenderAccountTabs   string        `ini:"render-account-tabs"`
+	PinnedTabMarker     string        `ini:"pinned-tab-marker"`
 	SidebarWidth        int           `ini:"sidebar-width"`
 	PreviewHeight       int           `ini:"preview-height"`
 	EmptyMessage        string        `ini:"empty-message"`
@@ -446,6 +447,7 @@ func LoadConfigFromFile(root *string, sharedir string) (*AercConfig, error) {
 				"From", "To", "Cc", "Bcc", "Subject", "Date",
 			},
 			RenderAccountTabs:   "auto",
+			PinnedTabMarker:     "`",
 			SidebarWidth:        20,
 			PreviewHeight:       12,
 			EmptyMessage:        "(no messages)",