X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=config.def.h;h=68d0fa71cfca79d5cf0834f5f8f2d11c14bf5aea;hp=5364cea24fea2141e2efdc37943e3adc703bb4b0;hb=e5a3175bc7a53d4dbd337bf4d5474fa0d6563925;hpb=59468d80c37f1c5f1638c7dcd88faa6595eb9898 diff --git a/config.def.h b/config.def.h index 5364cea..68d0fa7 100644 --- a/config.def.h +++ b/config.def.h @@ -7,6 +7,12 @@ static char *certdir = "~/.surf/certificates/"; static char *cachedir = "~/.surf/cache/"; static char *cookiefile = "~/.surf/cookies.txt"; +static SearchEngine searchengines[] = { + { "g", "https://www.google.com/search?q=%s" }, + { "ji", "https://jisho.org/search/%s" }, + { "aw", "https://wiki.archlinux.org/index.php?search=%s" } +}; + /* Webkit default features */ /* Highest priority value will be used. * Default parameters are priority 0 @@ -206,3 +212,5 @@ static Button buttons[] = { { OnAny, 0, 9, clicknavigate, { .i = +1 }, 1 }, { OnMedia, MODKEY, 1, clickexternplayer, { 0 }, 1 }, }; + +#define HOMEPAGE "https://searx.danieliu.xyz/"