tDo not use firefox wrapper and disable pledge/unveil - surf - [fork] customized build of surf, the suckless webkit browser
(HTM) git clone git://src.adamsgaard.dk/surf
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 0c93919efef6038e46c203dcf3f155ffdbdf459e
(DIR) parent 44f64460253fd1d28fee3fcdaa1164d2a470bf92
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
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(-)
---
(DIR) diff --git a/config.h b/config.h
t@@ -124,7 +124,7 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE |
/* 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 \
} \
}
(DIR) 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();