From 1df48fcb33f2e6009e7e4055662e441f2f0c3314 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sat, 17 Apr 2021 21:57:08 +0200 Subject: config: bold-text-in-bright: add ‘palette-based’ as a special value MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- config.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config.h') 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, -- cgit v1.3