diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-04-24 09:50:08 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-04-27 09:46:06 +0200 |
commit | afe35839eddfaf43be0f791e97a926a15d91fc02 (patch) | |
tree | ba9e5e07e8e86129f3567d982b172de1132ef233 /doc | |
parent | 698c0957d7f7ad6a4461120853102b38a76d0780 (diff) | |
download | aerc-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 'doc')
-rw-r--r-- | doc/aerc-stylesets.7.scd | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/doc/aerc-stylesets.7.scd b/doc/aerc-stylesets.7.scd index 598a7707..3fa5cb8b 100644 --- a/doc/aerc-stylesets.7.scd +++ b/doc/aerc-stylesets.7.scd @@ -115,6 +115,10 @@ styling. : The messages with the marked flag. | dirlist_default : The default style for directories in the directory list. +| dirlist_unread +: The style used for directories with unread messages +| dirlist_recent +: The style used for directories with recent messages | completion_default : The default style for the completion engine. | completion_gutter @@ -176,8 +180,8 @@ If we specify the global style selected modifer using fnmatch as below: This toggles the reverse switch for selected version of all the style objects. ## Layered styles -Some styles, (currently only the `msglist\*` ones) are applied in layers. If -a style differs from the base (in this case `msglist_default`) then that style +Some styles, (currently the `msglist\*` and `dirlist\*` ones) are applied in layers. If +a style differs from the base (in this case `\{msglist|dirlist\}_default`) then that style applies, unless overridden by a higher layer. The order that `msglist` styles are applied in is, from first to last: @@ -190,7 +194,13 @@ msglist_deleted msglist_marked ``` -So, the marked style will override all other msglist styles. +So, the marked style will override all other msglist styles. The order for `dirlist` styles is: + +``` +dirlist_default +dirlist_unread +dirlist_recent +``` ## Colors The color values are set using the values accepted by the tcell library. |