aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-05-22 12:51:15 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-05-22 12:51:15 +0000
commit458dd66135aa76e3bb82df532fa3ea9c218235d4 (patch)
tree887b7fa3249337fb8aebfbec2df231656120c16a /config.h
parentMerge branch 'underline-cursor-thickness' (diff)
parentconfig: url.protocols: make it comma separated, for consistency (diff)
Merge branch 'configurable-protocols-to-match-in-url-mode'
Closes #531
Diffstat (limited to 'config.h')
-rw-r--r--config.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/config.h b/config.h
index e95e7ead..95083e6c 100644
--- a/config.h
+++ b/config.h
@@ -65,7 +65,6 @@ struct config {
char *title;
char *app_id;
wchar_t *word_delimiters;
- wchar_t *jump_label_letters;
bool login_shell;
bool no_wait;
@@ -129,6 +128,19 @@ struct config {
} scrollback;
struct {
+ wchar_t *label_letters;
+ struct config_spawn_template launch;
+ enum {
+ OSC8_UNDERLINE_URL_MODE,
+ OSC8_UNDERLINE_ALWAYS,
+ } osc8_underline;
+
+ wchar_t **protocols;
+ size_t prot_count;
+ size_t max_prot_len;
+ } url;
+
+ struct {
uint32_t fg;
uint32_t bg;
uint32_t table[256];
@@ -213,12 +225,6 @@ struct config {
} selection_target;
struct config_spawn_template notify;
- struct config_spawn_template url_launch;
-
- enum {
- OSC8_UNDERLINE_URL_MODE,
- OSC8_UNDERLINE_ALWAYS,
- } osc8_underline;
struct {
enum fcft_scaling_filter fcft_filter;