--- config.def.h | 1 + surf.c | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index 2e735bf..0b9d377 100644 --- a/config.def.h +++ b/config.def.h _AT_@ -64,6 +64,7 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE | #define PROMPT_GO "Go:" #define PROMPT_FIND "Find:" +#define HOMEPAGE "https://duckduckgo.com/" /* SETPROP(readprop, setprop, prompt)*/ #define SETPROP(r, s, p) { \ diff --git a/surf.c b/surf.c index 0f8b9c9..a4cedb0 100644 --- a/surf.c +++ b/surf.c _AT_@ -2033,7 +2033,11 @@ main(int argc, char *argv[]) if (argc > 0) arg.v = argv[0]; else - arg.v = "about:blank"; + #ifdef HOMEPAGE + arg.v = HOMEPAGE; + #else + arg.v = "about:blank"; + #endif setup(); c = newclient(NULL); -- 2.14.1Received on Tue Sep 19 2017 - 23:21:55 CEST
This archive was generated by hypermail 2.3.0 : Tue Sep 19 2017 - 23:36:22 CEST