From 4233c806c32fef8f92e51361b2f00fd50799f9be Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 31 Jan 2021 14:27:13 +0100 Subject: config: add ‘url-launch’ option, defaulting to “xdg-open ${url}” MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index f46fa35f..d6ad2b24 100644 --- a/config.h +++ b/config.h @@ -66,6 +66,11 @@ struct pt_or_px { float pt; }; +struct config_spawn_template { + char *raw_cmd; + char **argv; +}; + struct config { char *term; char *shell; @@ -198,10 +203,8 @@ struct config { SELECTION_TARGET_BOTH } selection_target; - struct { - char *raw_cmd; - char **argv; - } notify; + struct config_spawn_template notify; + struct config_spawn_template url_launch; struct { enum fcft_scaling_filter fcft_filter; -- cgit v1.3