aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-01-30 11:26:23 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-02-05 12:35:17 +0000
commitd41b28bd027affe67bfd8032a2041241df8be823 (patch)
tree611738a609b7317dd47fdf14a729d958d1237b2b /config.h
parentconfig: remove url.{uri-characters,protocols} (diff)
url-mode+config: wip: add url.regex option
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/config.h b/config.h
index a7947d9d..ea0bd942 100644
--- a/config.h
+++ b/config.h
@@ -1,7 +1,8 @@
#pragma once
-#include <stdint.h>
+#include <regex.h>
#include <stdbool.h>
+#include <stdint.h>
#include <uchar.h>
#include <xkbcommon/xkbcommon.h>
@@ -219,6 +220,9 @@ struct config {
OSC8_UNDERLINE_URL_MODE,
OSC8_UNDERLINE_ALWAYS,
} osc8_underline;
+
+ char *regex;
+ regex_t preg;
} url;
struct {