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 --- config.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index e95e7ead..69fb8f07 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; @@ -128,6 +127,16 @@ struct config { double multiplier; } scrollback; + struct { + wchar_t *label_letters; + struct config_spawn_template launch; + enum { + OSC8_UNDERLINE_URL_MODE, + OSC8_UNDERLINE_ALWAYS, + } osc8_underline; + + } url; + struct { uint32_t fg; uint32_t bg; @@ -213,12 +222,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; -- cgit v1.3