diff options
author | Bence Ferdinandy <bence@ferdinandy.com> | 2022-12-08 14:15:33 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-12-14 11:24:43 +0100 |
commit | adf74be4b5c55faa724d35ca7bea2603c3ef42f9 (patch) | |
tree | 87de802bbfef7a8455ad6e9d48f2a1f0b38a517a /config | |
parent | c05c2ffe0424b048b10e7dd1aca59ae9cf631f12 (diff) | |
download | aerc-adf74be4b5c55faa724d35ca7bea2603c3ef42f9.tar.gz |
msglist: add attachment indicator
Add indicator of an attachment to the flags and make the character used
to be configurable.
Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Tested-by: Jens Grassel <jens@wegtam.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/triggers.go | 1 | ||||
-rw-r--r-- | config/ui.go | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/config/triggers.go b/config/triggers.go index 5f315362..7b461e70 100644 --- a/config/triggers.go +++ b/config/triggers.go @@ -64,6 +64,7 @@ func (trig *TriggersConfig) ExecNewEmail( Ui.ThisDayTimeFormat, Ui.ThisWeekTimeFormat, Ui.ThisYearTimeFormat, + Ui.IconAttachment, format.Ctx{ FromAddress: account.From, AccountName: account.Name, diff --git a/config/ui.go b/config/ui.go index 0fb6a248..440fccf3 100644 --- a/config/ui.go +++ b/config/ui.go @@ -45,6 +45,7 @@ type UIConfig struct { IconSignedEncrypted string `ini:"icon-signed-encrypted"` IconUnknown string `ini:"icon-unknown"` IconInvalid string `ini:"icon-invalid"` + IconAttachment string `ini:"icon-attachment"` DirListFormat string `ini:"dirlist-format"` DirListDelay time.Duration `ini:"dirlist-delay"` DirListTree bool `ini:"dirlist-tree"` |