config
authorDaniel Liu <mr.picklepinosaur@gmail.com>
Tue, 4 Aug 2020 02:43:03 +0000 (22:43 -0400)
committerDaniel Liu <mr.picklepinosaur@gmail.com>
Tue, 4 Aug 2020 02:43:03 +0000 (22:43 -0400)
config.def.h

index 34265f6..14084db 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