From 0f483d65ceb06e40eab8d5f5291e681112f06249 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 20 May 2021 17:56:56 +0200 Subject: config: move url-mode related options to a dedicated section, ‘url’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- url-mode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'url-mode.c') diff --git a/url-mode.c b/url-mode.c index 6aa56a43..fc1812ae 100644 --- a/url-mode.c +++ b/url-mode.c @@ -93,7 +93,7 @@ activate_url(struct seat *seat, struct terminal *term, const struct url *url) } if (spawn_expand_template( - &term->conf->url_launch, 1, + &term->conf->url.launch, 1, (const char *[]){"url"}, (const char *[]){url_string}, &argc, &argv)) @@ -405,7 +405,7 @@ osc8_uris(const struct terminal *term, enum url_action action, url_list_t *urls) { bool dont_touch_url_attr = false; - switch (term->conf->osc8_underline) { + switch (term->conf->url.osc8_underline) { case OSC8_UNDERLINE_URL_MODE: dont_touch_url_attr = false; break; @@ -484,7 +484,7 @@ static void generate_key_combos(const struct config *conf, size_t count, wchar_t *combos[static count]) { - const wchar_t *alphabet = conf->jump_label_letters; + const wchar_t *alphabet = conf->url.label_letters; const size_t alphabet_len = wcslen(alphabet); size_t hints_count = 1; -- cgit v1.3