tDo not use firefox wrapper and disable pledge/unveil - surf - [fork] customize… | |
git clone git://src.adamsgaard.dk/surf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 0c93919efef6038e46c203dcf3f155ffdbdf459e | |
parent 44f64460253fd1d28fee3fcdaa1164d2a470bf92 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 27 May 2020 13:03:05 +0200 | |
Do not use firefox wrapper and disable pledge/unveil | |
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.sh \"$(echo $(xprop -id $0 $1 | cut -d '\"' -f2) )\"",\ | |
+ "firefox \"$(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 __OpenBSD__ | |
+#ifdef __disabled_OpenBSD__ | |
char path[128]; | |
const char* home = getcurrentuserhomedir(); | |