diff options
author | inwit <inwit@sindominio.net> | 2024-06-29 17:14:23 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-08-20 11:54:34 +0200 |
commit | fd81f2c81e3c31118fc7df14c3e208cc112c36b9 (patch) | |
tree | 15734de4d55e746826c0198e47c52ce86ef392d9 /config | |
parent | 8c36bb25b4989677d60b8282a565f68c8b5cee21 (diff) | |
download | aerc-fd81f2c81e3c31118fc7df14c3e208cc112c36b9.tar.gz |
styles: add a style for forwarded messages
Allow for messages marked with the forwarded flag to be styled
differently.
Changelog-added: Forwarded messages can be styled differently in the
message list.
Signed-off-by: inwit <inwit@sindominio.net>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config')
-rw-r--r-- | config/style.go | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/config/style.go b/config/style.go index 46c46378..a8f17e8d 100644 --- a/config/style.go +++ b/config/style.go @@ -38,6 +38,7 @@ const ( STYLE_MSGLIST_MARKED STYLE_MSGLIST_RESULT STYLE_MSGLIST_ANSWERED + STYLE_MSGLIST_FORWARDED STYLE_MSGLIST_THREAD_FOLDED STYLE_MSGLIST_GUTTER STYLE_MSGLIST_PILL @@ -80,16 +81,17 @@ var StyleNames = map[string]StyleObject{ "statusline_warning": STYLE_STATUSLINE_WARNING, "statusline_success": STYLE_STATUSLINE_SUCCESS, - "msglist_default": STYLE_MSGLIST_DEFAULT, - "msglist_unread": STYLE_MSGLIST_UNREAD, - "msglist_read": STYLE_MSGLIST_READ, - "msglist_flagged": STYLE_MSGLIST_FLAGGED, - "msglist_deleted": STYLE_MSGLIST_DELETED, - "msglist_marked": STYLE_MSGLIST_MARKED, - "msglist_result": STYLE_MSGLIST_RESULT, - "msglist_answered": STYLE_MSGLIST_ANSWERED, - "msglist_gutter": STYLE_MSGLIST_GUTTER, - "msglist_pill": STYLE_MSGLIST_PILL, + "msglist_default": STYLE_MSGLIST_DEFAULT, + "msglist_unread": STYLE_MSGLIST_UNREAD, + "msglist_read": STYLE_MSGLIST_READ, + "msglist_flagged": STYLE_MSGLIST_FLAGGED, + "msglist_deleted": STYLE_MSGLIST_DELETED, + "msglist_marked": STYLE_MSGLIST_MARKED, + "msglist_result": STYLE_MSGLIST_RESULT, + "msglist_answered": STYLE_MSGLIST_ANSWERED, + "msglist_forwarded": STYLE_MSGLIST_FORWARDED, + "msglist_gutter": STYLE_MSGLIST_GUTTER, + "msglist_pill": STYLE_MSGLIST_PILL, "msglist_thread_folded": STYLE_MSGLIST_THREAD_FOLDED, "msglist_thread_context": STYLE_MSGLIST_THREAD_CONTEXT, |