aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-12 16:53:32 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-12 17:41:50 +0000
commit5e36ebdef86ad3571dee1af14f6b538c7064dd8c (patch)
tree06b8bc7b1c0e07341d58a4913fdca2b8169e5dae /config.h
parentdoc: foot.1: don't talk about using '--' on the command line (diff)
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.
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
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 {