tEnable unveil calls, use firefox wrapper - surf - 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 a645313eba76c5a42245e4cfd6209edbad6bf3c1
(DIR) parent 6e9c296c878f28f2d9d360d0311a1b73112d8886
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
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(-)
---
(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 \"$(echo $(xprop -id $0 $1 | cut -d '\"' -f2) )\"",\
+ "firefox.sh \"$(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 __aOpenBSD__
+#ifdef __OpenBSD__
char path[128];
const char* home = getcurrentuserhomedir();