Add plumbing functionality.

This commit is contained in:
Christoph Lohmann 2015-01-19 22:15:18 +01:00
commit 9c3b5ad353
2 changed files with 28 additions and 2 deletions

View file

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