X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.def.h;h=be44d284dd4bcb88e399196fbcfddedcb2e428ed;hb=75cc43047fc21ddcacd564766bb3211d9d0746e6;hp=152300f35cbf28794803edb887d5501fbbe48365;hpb=7ffdcd756ca77cc4e7d1e0cda25bd7826cc8b8f1;p=surf.git diff --git a/config.def.h b/config.def.h index 152300f..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 } }, { "Stop", stop, { 0 } }, - { "<===", navigate, { .i = -1 } }, - { "===>", navigate, { .i = +1 } }, + { "Paste URI", clipboard, { .b = TRUE } }, + { "Copy URI", clipboard, { .b = FALSE } }, };