mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-31 07:11:09 -04:00
config: make selection foreground/background colors configurable
The default is still to inverse the regular foreground/background colors. If the user sets *both* of the new options, selection-foreground and selection-background, those colors will *always* be used for selected cells, instead of inverting the regular foreground/background colors.
This commit is contained in:
parent
156cce6ef6
commit
5e36ebdef8
6 changed files with 33 additions and 8 deletions
3
config.h
3
config.h
|
|
@ -70,6 +70,9 @@ struct config {
|
|||
uint32_t regular[8];
|
||||
uint32_t bright[8];
|
||||
uint16_t alpha;
|
||||
uint32_t selection_fg;
|
||||
uint32_t selection_bg;
|
||||
bool selection_uses_custom_colors;
|
||||
} colors;
|
||||
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue