diff options
author | Christoph Lohmann <20h@r-36.net> | 2015-01-19 22:15:18 +0100 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2015-01-19 22:15:18 +0100 |
commit | 9c3b5ad35389f1930834bf04341eb0c3514a850f (patch) | |
tree | 996bced8c0eb36e56d2ce3bec644e2e92d80ebea /config.def.h | |
parent | 7c34d5061e372d44e20a27df375d785656614935 (diff) | |
download | surf-9c3b5ad35389f1930834bf04341eb0c3514a850f.tar.gz surf-9c3b5ad35389f1930834bf04341eb0c3514a850f.tar.bz2 surf-9c3b5ad35389f1930834bf04341eb0c3514a850f.zip |
Add plumbing functionality.
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 |