aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-06 10:10:40 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-07 15:33:33 +0000
commite9c3d03837bb50ec39b85ee92f2906e2bb40971f (patch)
tree49b10bdf6f75d88b35c8c4426a9bbc3522621c3c /config.h
parentconfig: use a packed bitfield for “use custom color” flags (diff)
config: add colors.jump_labels and colors.urls
* colors.jump_labels configures the foreground and background colors used when rendering URL jump labels. Defaults to “regular0 regular3” (i.e. black on yellow). * colors.urls configures the color to use when highlighting URLs in URL mode. Note that we aren’t currently doing any highlighting... Defaults to regular3 (i.e. yellow).
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h b/config.h
index f8ebb572..94998f28 100644
--- a/config.h
+++ b/config.h
@@ -139,9 +139,17 @@ struct config {
uint16_t alpha;
uint32_t selection_fg;
uint32_t selection_bg;
+ uint32_t url;
+
+ struct {
+ uint32_t fg;
+ uint32_t bg;
+ } jump_label;
struct {
bool selection:1;
+ bool jump_label:1;
+ bool url:1;
} use_custom;
} colors;