X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=config.def.h;h=13fc1bc2bfbae5bae18a0879bcc54a0c0fb82d03;hp=e1b028a7046ea10bf27aacf31b59cacefbc28db9;hb=72972094bab647bd062cffbbf42de3b2f204ca06;hpb=8fe94c872d221f8d20bb84ed1f3349bb06feeb6e diff --git a/config.def.h b/config.def.h index e1b028a..13fc1bc 100644 --- a/config.def.h +++ b/config.def.h @@ -10,7 +10,8 @@ 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" } + { "aw", "https://wiki.archlinux.org/index.php?search=%s" }, + { "s", "https://searx.danieliu.xyz/?q=%s" } }; /* Webkit default features */ @@ -153,6 +154,8 @@ static Key keys[] = { { MODKEY, GDK_KEY_slash, spawn, SETPROP("_SURF_FIND", "_SURF_FIND", PROMPT_FIND) }, { MODKEY, GDK_KEY_m, spawn, BM_ADD("_SURF_URI") }, + { MODKEY, GDK_KEY_w, playexternal, { 0 } }, + { 0, GDK_KEY_Escape, stop, { 0 } }, { MODKEY, GDK_KEY_c, stop, { 0 } }, @@ -213,4 +216,4 @@ static Button buttons[] = { { OnMedia, MODKEY, 1, clickexternplayer, { 0 }, 1 }, }; -#define HOMEPAGE "https://danieliu.xyz/" +#define HOMEPAGE "https://searx.danieliu.xyz/"