birdsurf

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 27d1915d2c88f6601c7fa2965f4ace9fbf807f96
parent 21b67caeef5871b8384b465dc2080cf54222a750
Author: grouse <bdmfegys@duck.com>
Date:   Fri, 23 Feb 2024 17:39:00 -0500

successfully patch homepage patch

Diffstat:
Mconfig.def.h | 2++
Msurf.c | 4++++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -194,3 +194,5 @@ static Button buttons[] = { { OnAny, 0, 9, clicknavigate, { .i = +1 }, 1 }, { OnMedia, MODKEY, 1, clickexternplayer, { 0 }, 1 }, }; + +#define HOMEPAGE "https://duckduckgo.com/" diff --git a/surf.c b/surf.c @@ -2154,7 +2154,11 @@ main(int argc, char *argv[]) if (argc > 0) arg.v = argv[0]; else +#ifdef HOMEPAGE + arg.v = HOMEPAGE; +#else arg.v = "about:blank"; +#endif setup(); c = newclient(NULL);