aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-31 13:27:13 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-07 15:33:31 +0000
commit4233c806c32fef8f92e51361b2f00fd50799f9be (patch)
tree12cf096fb2a14226829466cc366f68c4dde37cf5 /config.h
parentterm: destroy: set term->window = NULL after destroying it (diff)
config: add ‘url-launch’ option, defaulting to “xdg-open ${url}”
Diffstat (limited to 'config.h')
-rw-r--r--config.h11
1 files changed, 7 insertions, 4 deletions
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;