diff options
author | Jeffas <dev@jeffas.io> | 2020-03-07 16:42:41 +0000 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-03-09 09:31:02 -0400 |
commit | 3156d481feaffd2e6df6d860b980e9160b706e42 (patch) | |
tree | 82a6362a76015273a7a43105e15e7cdb41f96ada /config/config.go | |
parent | 258a3f11ae379b96f4743d6d709b7c42bafd6dbc (diff) | |
download | aerc-3156d481feaffd2e6df6d860b980e9160b706e42.tar.gz |
Add pinned tabs
This adds the commands pin-tab and unpin-tab. Once pinned a tab lives on
the left of the tabstrip and has a configurable marker, defaulting to `
before its name.
Diffstat (limited to 'config/config.go')
-rw-r--r-- | config/config.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go index 0393e467..5794388a 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)", |