X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=2baafeffa53b007b6fdc72ab282b830ddfd5a9a2;hb=9c3b5ad35389f1930834bf04341eb0c3514a850f;hp=6718a812596a8ce1029cc0234c6ac6514a914f9c;hpb=117d4848338315d15e1ab93cd551889fc6964a2b;p=surf.git diff --git a/config.def.h b/config.def.h index 6718a81..2baafef 100644 --- a/config.def.h +++ b/config.def.h @@ -53,7 +53,18 @@ static Bool allowgeolocation = TRUE; } \ } +/* PLUMB(URI) */ +#define PLUMB(u) {\ + .v = (char *[]){ "/bin/sh", "-c", \ + "xdg-open \"$0\"", u, NULL \ + } \ +} + /* styles */ +/* + * The iteration will stop at the first match, beginning at the beginning of + * the list. + */ static SiteStyle styles[] = { /* regexp file in $styledir */ { ".*", "default.css" },