diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -106,6 +106,11 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE | } \ } +/* Pass */ +#define PASS(VAL) { \ + .v = (const char *[]){ "./surf-pass", winid, VAL, NULL } \ +} + /* styles */ /* * The iteration will stop at the first match, beginning at the beginning of @@ -138,6 +143,9 @@ static Key keys[] = { { MODKEY, GDK_KEY_f, spawn, SETPROP("_SURF_FIND", "_SURF_FIND", PROMPT_FIND) }, { MODKEY, GDK_KEY_slash, spawn, SETPROP("_SURF_FIND", "_SURF_FIND", PROMPT_FIND) }, + { MODKEY, GDK_KEY_w, spawn, PASS("NAME") }, + { MODKEY|GDK_SHIFT_MASK, GDK_KEY_w, spawn, PASS("PASS") }, + { 0, GDK_KEY_Escape, stop, { 0 } }, { MODKEY, GDK_KEY_c, stop, { 0 } }, |