X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=config.def.h;h=4ef42521c64d0213799d98a0080585f5115f1d60;hp=7d760cff005a241a378b282d4c3a79f68db8917f;hb=1007143bda871936e93925a6942c587de2f8939f;hpb=46bf9a4515528f8cea268f7a820a818fb28b5a35 diff --git a/config.def.h b/config.def.h index 7d760cf..4ef4252 100644 --- a/config.def.h +++ b/config.def.h @@ -7,6 +7,13 @@ 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" }, + { "s", "https://searx.danieliu.xyz/?q=%s" } +}; + /* Webkit default features */ /* Highest priority value will be used. * Default parameters are priority 0 @@ -207,4 +214,4 @@ static Button buttons[] = { { OnMedia, MODKEY, 1, clickexternplayer, { 0 }, 1 }, }; -#define HOMEPAGE "https://danieliu.xyz/" +#define HOMEPAGE "https://searx.danieliu.xyz/"