From 9c3b5ad35389f1930834bf04341eb0c3514a850f Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Mon, 19 Jan 2015 22:15:18 +0100 Subject: Add plumbing functionality. --- config.def.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config.def.h') 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 -- cgit v1.2.3