X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=config.def.h;h=68d0fa71cfca79d5cf0834f5f8f2d11c14bf5aea;hp=7d760cff005a241a378b282d4c3a79f68db8917f;hb=e5a3175bc7a53d4dbd337bf4d5474fa0d6563925;hpb=46bf9a4515528f8cea268f7a820a818fb28b5a35 diff --git a/config.def.h b/config.def.h index 7d760cf..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 @@ -207,4 +213,4 @@ static Button buttons[] = { { OnMedia, MODKEY, 1, clickexternplayer, { 0 }, 1 }, }; -#define HOMEPAGE "https://danieliu.xyz/" +#define HOMEPAGE "https://searx.danieliu.xyz/"