X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=be44d284dd4bcb88e399196fbcfddedcb2e428ed;hb=60dd7545d3ff693d159eef10d0645245c494c35f;hp=c7d6a3835dc5ffa24c2b57b73661f8bf6f7ef225;hpb=2eafff0e8bc0092f2d0280c6ef8523db652a115c;p=surf.git diff --git a/config.def.h b/config.def.h index c7d6a38..be44d28 100644 --- a/config.def.h +++ b/config.def.h @@ -4,8 +4,10 @@ static char *progress = "#FF0000"; static char *progress_trust = "#00FF00"; static char *stylefile = ".surf/style.css"; static char *scriptfile = ".surf/script.js"; -static char *cookiefile = ".surf/cookie.txt"; +static char *cookiefile = ".surf/cookies.txt"; static char *dldir = ".surf/dl"; +static time_t sessiontime = 3600; + #define MODKEY GDK_CONTROL_MASK static Key keys[] = { /* modifier keyval function arg Focus */ @@ -36,9 +38,11 @@ static Key keys[] = { }; static Item items[] = { + { "Back", navigate, { .i = -1 } }, + { "Forward", navigate, { .i = +1 } }, { "New Window", newwindow, { .v = NULL } }, - { "Reload", reload, { .b = FALSE } }, + { "Reload", reload, { .b = FALSE } }, { "Stop", stop, { 0 } }, - { "<===", navigate, { .i = -1 } }, - { "===>", navigate, { .i = +1 } }, + { "Paste URI", clipboard, { .b = TRUE } }, + { "Copy URI", clipboard, { .b = FALSE } }, };