about summary refs log tree commit diff
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h7
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