aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-06 09:35:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-07 15:33:33 +0000
commitfcbb5a0bf7c6f77eb067fa223b37a792c575df56 (patch)
tree28f635a548668fc6f299e086278caaf9743a3773 /config.h
parentfoot.ini: fix default values for csd.button-*-color (diff)
config: use a packed bitfield for “use custom color” flags
Diffstat (limited to 'config.h')
-rw-r--r--config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.h b/config.h
index d6ad2b24..f8ebb572 100644
--- a/config.h
+++ b/config.h
@@ -139,7 +139,10 @@ struct config {
uint16_t alpha;
uint32_t selection_fg;
uint32_t selection_bg;
- bool selection_uses_custom_colors;
+
+ struct {
+ bool selection:1;
+ } use_custom;
} colors;
struct {