X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=9c1a76a6be6a900b15e58b6b9bd638c6a6af4afe;hb=e7b36f693f184427c51be59e98c5f1bb5904e806;hp=fdf784e9ba36b4198d63b1f0e91375402cb0b14d;hpb=6d9d3ca4e133745925945a00d5e0c881b58c3a62;p=surf.git diff --git a/config.def.h b/config.def.h index fdf784e..9c1a76a 100644 --- a/config.def.h +++ b/config.def.h @@ -14,8 +14,9 @@ static char *cafile = "/etc/ssl/certs/ca-certificates.crt"; static char *strictssl = FALSE; /* Refuse untrusted SSL connections */ static int indicator_thickness = 2; -#define HIDE_BACKGROUND FALSE -#define SPATIAL_BROWSING TRUE +/* Webkit features */ +static Bool spatialbrowsing = TRUE; +static Bool hidebackground = FALSE; #define SETPROP(p, q) { .v = (char *[]){ "/bin/sh", "-c", \ "prop=\"`xprop -id $2 $0 | cut -d '\"' -f 2 | dmenu`\" &&" \ @@ -45,6 +46,7 @@ static Key keys[] = { { MODKEY, GDK_space, scroll_v, { .i = +10000 } }, { MODKEY, GDK_i, scroll_h, { .i = +1 } }, { MODKEY, GDK_u, scroll_h, { .i = -1 } }, + { 0, GDK_Escape, stop, { 0 } }, { MODKEY, GDK_o, source, { 0 } }, { MODKEY, GDK_g, spawn, SETPROP("_SURF_URI", "_SURF_GO") }, { MODKEY, GDK_f, spawn, SETPROP("_SURF_FIND", "_SURF_FIND") },