aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2022-04-24 09:50:08 -0500
committerRobin Jarry <robin@jarry.cc>2022-04-27 09:46:06 +0200
commitafe35839eddfaf43be0f791e97a926a15d91fc02 (patch)
treeba9e5e07e8e86129f3567d982b172de1132ef233 /config
parent698c0957d7f7ad6a4461120853102b38a76d0780 (diff)
downloadaerc-afe35839eddfaf43be0f791e97a926a15d91fc02.tar.gz
style: add style config options for dirlist_unread and dirlist_recent
Adds two style options: dirlist_unread and dirlist_recent. These options apply in layers, in the same way as msglist_* styles do. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> 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 fc6f7db7..71d39dcd 100644
--- a/config/style.go
+++ b/config/style.go
@@ -37,6 +37,8 @@ const (
STYLE_MSGLIST_MARKED
STYLE_DIRLIST_DEFAULT
+ STYLE_DIRLIST_UNREAD
+ STYLE_DIRLIST_RECENT
STYLE_COMPLETION_DEFAULT
STYLE_COMPLETION_GUTTER
@@ -73,6 +75,8 @@ var StyleNames = map[string]StyleObject{
"msglist_marked": STYLE_MSGLIST_MARKED,
"dirlist_default": STYLE_DIRLIST_DEFAULT,
+ "dirlist_unread": STYLE_DIRLIST_UNREAD,
+ "dirlist_recent": STYLE_DIRLIST_RECENT,
"completion_default": STYLE_COMPLETION_DEFAULT,
"completion_gutter": STYLE_COMPLETION_GUTTER,