aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorKonstantin Shelekhin <k.shelekhin@ftml.net>2023-08-07 03:10:41 +0300
committerRobin Jarry <robin@jarry.cc>2023-08-11 21:33:02 +0200
commit4443536dc03d5c9b0e09fef544f44e9e5c36ffcb (patch)
tree2d71780162805b20a1fe5f8e9fd8c365edf42932 /config
parentcf2f7504993eb1682df3fd66b868764d51c46794 (diff)
downloadaerc-4443536dc03d5c9b0e09fef544f44e9e5c36ffcb.tar.gz
style: add msglist_gutter and msglist_pill to config
Allow a user to change the default style of the message list scrollbar. There is no easy way to set the default style for an object directly in code, so I've updated every built-in theme to preserve the existing style. Signed-off-by: Konstantin Shelekhin <k.shelekhin@ftml.net> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'config')
-rw-r--r--config/style.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/style.go b/config/style.go
index 417f42b6..2b1ef41a 100644
--- a/config/style.go
+++ b/config/style.go
@@ -40,6 +40,8 @@ const (
STYLE_MSGLIST_RESULT
STYLE_MSGLIST_ANSWERED
STYLE_MSGLIST_THREAD_FOLDED
+ STYLE_MSGLIST_GUTTER
+ STYLE_MSGLIST_PILL
STYLE_DIRLIST_DEFAULT
STYLE_DIRLIST_UNREAD
@@ -81,6 +83,8 @@ var StyleNames = map[string]StyleObject{
"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_thread_folded": STYLE_MSGLIST_THREAD_FOLDED,