Use search prefix to avoid conflicts with current URL
This commit is contained in:
parent
e485b2ea78
commit
ff0c1ac744
|
@ -10,9 +10,9 @@ static char *dldir = "~/dl/";
|
||||||
static char *dlstatus = "~/.surf/dlstatus/";
|
static char *dlstatus = "~/.surf/dlstatus/";
|
||||||
|
|
||||||
static SearchEngine searchengines[] = {
|
static SearchEngine searchengines[] = {
|
||||||
{ "d ", "https://duckduckgo.com/?q=%s" },
|
{ "!d ", "https://duckduckgo.com/?q=%s" },
|
||||||
{ "g ", "https://google.com/search?q=%s" },
|
{ "!g ", "https://google.com/search?q=%s" },
|
||||||
{ "aw ", "https://wiki.archlinux.org/index.php?search=%s" },
|
{ "!aw ", "https://wiki.archlinux.org/index.php?search=%s" },
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Webkit default features */
|
/* Webkit default features */
|
||||||
|
@ -53,7 +53,7 @@ static Parameter defconfig[ParameterLast] = {
|
||||||
[SpellLanguages] = { { .v = ((char *[]){ "en_US", NULL }) }, },
|
[SpellLanguages] = { { .v = ((char *[]){ "en_US", NULL }) }, },
|
||||||
[StrictTLS] = { { .i = 1 }, },
|
[StrictTLS] = { { .i = 1 }, },
|
||||||
[Style] = { { .i = 1 }, },
|
[Style] = { { .i = 1 }, },
|
||||||
[WebGL] = { { .i = 0 }, },
|
[WebGL] = { { .i = 1 }, },
|
||||||
[ZoomLevel] = { { .f = 1.0 }, },
|
[ZoomLevel] = { { .f = 1.0 }, },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
8
config.h
8
config.h
|
@ -10,9 +10,9 @@ static char *dldir = "~/dl/";
|
||||||
static char *dlstatus = "~/.surf/dlstatus/";
|
static char *dlstatus = "~/.surf/dlstatus/";
|
||||||
|
|
||||||
static SearchEngine searchengines[] = {
|
static SearchEngine searchengines[] = {
|
||||||
{ "d ", "https://duckduckgo.com/?q=%s" },
|
{ "!d ", "https://duckduckgo.com/?q=%s" },
|
||||||
{ "g ", "https://google.com/search?q=%s" },
|
{ "!g ", "https://google.com/search?q=%s" },
|
||||||
{ "aw ", "https://wiki.archlinux.org/index.php?search=%s" },
|
{ "!aw ", "https://wiki.archlinux.org/index.php?search=%s" },
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Webkit default features */
|
/* Webkit default features */
|
||||||
|
@ -53,7 +53,7 @@ static Parameter defconfig[ParameterLast] = {
|
||||||
[SpellLanguages] = { { .v = ((char *[]){ "en_US", NULL }) }, },
|
[SpellLanguages] = { { .v = ((char *[]){ "en_US", NULL }) }, },
|
||||||
[StrictTLS] = { { .i = 1 }, },
|
[StrictTLS] = { { .i = 1 }, },
|
||||||
[Style] = { { .i = 1 }, },
|
[Style] = { { .i = 1 }, },
|
||||||
[WebGL] = { { .i = 0 }, },
|
[WebGL] = { { .i = 1 }, },
|
||||||
[ZoomLevel] = { { .f = 1.0 }, },
|
[ZoomLevel] = { { .f = 1.0 }, },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue