mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-20 05:33:47 -04:00
config: add ‘url-launch’ option, defaulting to “xdg-open ${url}”
This commit is contained in:
parent
0cbdf657a7
commit
4233c806c3
4 changed files with 63 additions and 22 deletions
11
config.h
11
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue