config: add ‘url-launch’ option, defaulting to “xdg-open ${url}”

This commit is contained in:
Daniel Eklöf 2021-01-31 14:27:13 +01:00
parent 0cbdf657a7
commit 4233c806c3
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 63 additions and 22 deletions

View file

@ -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;