aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-04-17 19:57:08 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-04-17 20:00:48 +0000
commitcdfc864cf06645b341266877a3e2c8615b0c43f0 (patch)
treeb9601df11ad83a7e3ed0231827f2cdbc09258182 /config.h
parentrender: brighten: use corresponding bright palette color for base 8 colors (diff)
config: bold-text-in-bright: add ‘palette-based’ as a special value
When ‘bold-text-in-bright’ is set ‘to palette-based’, colors matching one of the 8 regular palette colors are brightened by using the corresponding bright palette color. Other colors, or all colors if ‘bold-text-in-bright’ is set to ‘yes|true’, are brightened by increasing the luminance.
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.h b/config.h
index d64c5e98..06184658 100644
--- a/config.h
+++ b/config.h
@@ -79,7 +79,11 @@ struct config {
bool center;
uint16_t resize_delay_ms;
- bool bold_in_bright;
+ struct {
+ bool enabled;
+ bool palette_based;
+ } bold_in_bright;
+
enum {
BELL_ACTION_NONE,
BELL_ACTION_URGENT,