tEnable unveil calls, use firefox wrapper - surf - customized build of surf, th… | |
git clone git://src.adamsgaard.dk/surf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit a645313eba76c5a42245e4cfd6209edbad6bf3c1 | |
parent 6e9c296c878f28f2d9d360d0311a1b73112d8886 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 27 Apr 2020 18:37:07 +0200 | |
Enable unveil calls, use firefox wrapper | |
Diffstat: | |
M config.h | 2 +- | |
M surf.c | 2 +- | |
2 files changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/config.h b/config.h | |
t@@ -124,7 +124,7 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CA… | |
/* FIREFOX(URI) */ | |
#define FIREFOX(u) {\ | |
.v = (const char *[]){ "/bin/sh", "-c", \ | |
- "firefox \"$(echo $(xprop -id $0 $1 | cut -d '\"' -f2) )\"",\ | |
+ "firefox.sh \"$(echo $(xprop -id $0 $1 | cut -d '\"' -f2) )\"",\ | |
winid, u, NULL \ | |
} \ | |
} | |
diff --git a/surf.c b/surf.c | |
t@@ -1981,7 +1981,7 @@ main(int argc, char *argv[]) | |
Arg arg; | |
Client *c; | |
-#ifdef __aOpenBSD__ | |
+#ifdef __OpenBSD__ | |
char path[128]; | |
const char* home = getcurrentuserhomedir(); | |