mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-08 05:34:00 -04:00
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.
This commit is contained in:
parent
11e8ff9dc5
commit
1df48fcb33
5 changed files with 38 additions and 12 deletions
6
config.h
6
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue