pinosaur
/
surf.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
surf: see hover URL without changing title
[surf.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
6718a81
..
e3b9881
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-53,7
+53,21
@@
static Bool allowgeolocation = TRUE;
} \
}
} \
}
+/* PLUMB(URI) */
+/* This called when some URI which does not begin with "about:",
+ * "http://" or "https://" should be opened.
+ */
+#define PLUMB(u) {\
+ .v = (char *[]){ "/bin/sh", "-c", \
+ "xdg-open \"$0\"", u, NULL \
+ } \
+}
+
/* styles */
/* styles */
+/*
+ * The iteration will stop at the first match, beginning at the beginning of
+ * the list.
+ */
static SiteStyle styles[] = {
/* regexp file in $styledir */
{ ".*", "default.css" },
static SiteStyle styles[] = {
/* regexp file in $styledir */
{ ".*", "default.css" },