X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=dd18e8349739fa7862cff8afca7bfe261d82d7c4;hb=bc73b48743eb0b51905322cad25b4647569e7996;hp=33f41c28c64163b338d20d992b3453a9be59e2bc;hpb=ca1c7f434bbf40a0ed65591910d81f13445c2db0;p=surf.git diff --git a/config.def.h b/config.def.h index 33f41c2..dd18e83 100644 --- a/config.def.h +++ b/config.def.h @@ -1,12 +1,15 @@ /* modifier 0 means no modifier */ static char *useragent = "Surf/"VERSION" (X11; U; Unix; en-US) AppleWebKit/531.2+ Compatible (Safari)"; -static char *progress = "#FF0000"; +static char *progress = "#0066FF"; +static char *progress_untrust = "#FF6600"; 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; -#define NOBACKGROUND 0 +static time_t sessiontime = 3600; +static char *cafile = "/etc/ssl/certs/ca-certificates.crt"; +static char *strictssl = FALSE; /* Refuse untrusted SSL connections */ +#define HIDE_BACKGROUND FALSE #define SETPROP(p, q) { .v = (char *[]){ "/bin/sh", "-c", \ "prop=\"`xprop -id $2 $0 | cut -d '\"' -f 2 | dmenu`\" &&" \ @@ -34,7 +37,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 } }, };