homepage
[surf.git] / config.def.h
index 5364cea..68d0fa7 100644 (file)
@@ -7,6 +7,12 @@ static char *certdir        = "~/.surf/certificates/";
 static char *cachedir       = "~/.surf/cache/";
 static char *cookiefile     = "~/.surf/cookies.txt";
 
 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
 /* 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 },
 };
        { OnAny,        0,              9,      clicknavigate,  { .i = +1 },    1 },
        { OnMedia,      MODKEY,         1,      clickexternplayer, { 0 },       1 },
 };
+
+#define HOMEPAGE "https://searx.danieliu.xyz/"