birdsurf

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

commit 312082336e067d8f6aefdfb17ac92792002d451a
parent cc0605846d0761b3edb5efb442f0478db9507ada
Author: grouse <bdmfegys@duck.com>
Date:   Fri, 23 Feb 2024 17:47:27 -0500

dark mode by default, and move homepage definition to top of config.def.h

Diffstat:
Mconfig.def.h | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -1,6 +1,6 @@ /* modifier 0 means no modifier */ -static int surfuseragent = 1; /* Append Surf version to default WebKit user agent */ -static char *fulluseragent = ""; /* Or override the whole user agent string */ +static int surfuseragent = 0; /* Append Surf version to default WebKit user agent */ +static char *fulluseragent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.3"; /* Or override the whole user agent string */ static char *scriptfile = "~/.surf/script.js"; static char *styledir = "~/.surf/styles/"; static char *certdir = "~/.surf/certificates/"; @@ -13,6 +13,7 @@ static char *cookiefile = "~/.surf/cookies.txt"; * Per-uri parameters are priority 1 * Command parameters are priority 2 */ +#define HOMEPAGE "https://etsi.me" static Parameter defconfig[ParameterLast] = { /* parameter Arg value priority */ [AccessMicrophone] = { { .i = 0 }, }, @@ -195,4 +196,3 @@ static Button buttons[] = { { OnMedia, MODKEY, 1, clickexternplayer, { 0 }, 1 }, }; -#define HOMEPAGE "https://duckduckgo.com/"