summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Marçalo <raroma09@gmail.com>2023-11-29 17:38:49 +0000
committerRafael Marçalo <raroma09@gmail.com>2023-11-29 17:38:49 +0000
commit9852b269b9e67686017c48f96762ad583bb08361 (patch)
tree38dd2a83d477f414db421f3f3d855c9806515929
parent7920d9e7870948c1259b7620b84f2600dac5ada7 (diff)
Homepage patch
-rw-r--r--config.def.h1
-rw-r--r--surf.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 62fe666..53fcfe1 100644
--- a/config.def.h
+++ b/config.def.h
@@ -2,6 +2,7 @@
static int surfuseragent = 1; /* Append Surf version to default WebKit user agent */
static int extendedtitle = 0; /* 0 to not append surf's toggle and page status to title. */
static char *fulluseragent = ""; /* Or override the whole user agent string */
+static char *homepage = "about:blank";
static char *scriptfile = "~/.surf/script.js";
static char *styledir = "~/.surf/styles/";
static char *certdir = "~/.surf/certificates/";
diff --git a/surf.c b/surf.c
index 1e04b04..38d892e 100644
--- a/surf.c
+++ b/surf.c
@@ -2189,7 +2189,7 @@ main(int argc, char *argv[])
if (argc > 0)
arg.v = argv[0];
else
- arg.v = "about:blank";
+ arg.v = homepage;
setup();
c = newclient(NULL);