X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=3b64d7546e3f2d61b661d867692b7b634e2a5157;hb=db72e066d1c6b20b6c36db95205a2127fe100227;hp=33f41c28c64163b338d20d992b3453a9be59e2bc;hpb=ca1c7f434bbf40a0ed65591910d81f13445c2db0;p=surf.git diff --git a/config.def.h b/config.def.h index 33f41c2..3b64d75 100644 --- a/config.def.h +++ b/config.def.h @@ -5,7 +5,7 @@ static char *progress_trust = "#00FF00"; static char *stylefile = ".surf/style.css"; static char *scriptfile = ".surf/script.js"; static char *cookiefile = ".surf/cookies.txt"; -static time_t sessiontime = 0; +static time_t sessiontime = 3600; #define NOBACKGROUND 0 #define SETPROP(p, q) { .v = (char *[]){ "/bin/sh", "-c", \ @@ -34,7 +34,7 @@ static Key keys[] = { { 0, GDK_Escape, stop, { 0 } }, { MODKEY, GDK_o, source, { 0 } }, { MODKEY, GDK_g, spawn, SETPROP("_SURF_URI", "_SURF_GO") }, - { MODKEY, GDK_slash, spawn, SETPROP("_SURF_FIND", "_SURF_FIND") }, + { MODKEY, GDK_f, spawn, SETPROP("_SURF_FIND", "_SURF_FIND") }, { MODKEY, GDK_n, find, { .b = TRUE } }, { MODKEY|GDK_SHIFT_MASK,GDK_n, find, { .b = FALSE } }, };