From 5e36ebdef86ad3571dee1af14f6b538c7064dd8c Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 12 Aug 2020 18:53:32 +0200 Subject: 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. --- config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 0c105cda..3c7ff1ae 100644 --- a/config.h +++ b/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 { -- cgit v1.3