X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=config.def.h;h=e1b028a7046ea10bf27aacf31b59cacefbc28db9;hp=5364cea24fea2141e2efdc37943e3adc703bb4b0;hb=8fe94c872d221f8d20bb84ed1f3349bb06feeb6e;hpb=59468d80c37f1c5f1638c7dcd88faa6595eb9898 diff --git a/config.def.h b/config.def.h index 5364cea..e1b028a 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://danieliu.xyz/"