X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=config.def.h;h=2baafeffa53b007b6fdc72ab282b830ddfd5a9a2;hp=7b5cf8dafe264c3574d39e01c19918bc16aeaf52;hb=9c3b5ad35389f1930834bf04341eb0c3514a850f;hpb=7c34d5061e372d44e20a27df375d785656614935 diff --git a/config.def.h b/config.def.h index 7b5cf8d..2baafef 100644 --- a/config.def.h +++ b/config.def.h @@ -53,6 +53,13 @@ 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