tFix binding for plumbing URI - surf - [fork] customized build of surf, the suckless webkit browser
 (HTM) git clone git://src.adamsgaard.dk/surf
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 38862af8c02916e76535ac6bfc729e13358de7d5
 (DIR) parent ffe1ff6cc3193f72e9f28aaa928b7070a8055740
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Thu, 25 Jun 2020 22:28:04 +0200
       
       Fix binding for plumbing URI
       
       Diffstat:
         M config.h                            |       3 +--
       
       1 file changed, 1 insertion(+), 2 deletions(-)
       ---
 (DIR) diff --git a/config.h b/config.h
       t@@ -96,7 +96,6 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE |
        }
        
        /* PLUMBER(URI) */
       -/* does not work with surf within tabbed */
        #define PLUMBER(u) {\
                .v = (const char *[]){ "/bin/sh", "-c", \
                     "plumb \"$(echo $(xprop -id $0 $1 | cut -d '\"' -f2) )\"",\
       t@@ -187,7 +186,7 @@ static Key keys[] = {
                { MODKEY,                GDK_KEY_d,      scrollv,    { .i = +50 } },
                { MODKEY|GDK_SHIFT_MASK, GDK_KEY_d,      scrollv,    { .i = +100 } },
                { MODKEY,                GDK_KEY_u,      scrollv,    { .i = -50 } },
       -        { MODKEY|GDK_SHIFT_MASK, GDK_KEY_u,      spawn,      PLUMBER("_SURF_URI") },
       +        { MODKEY,                GDK_KEY_g,      spawn,      PLUMBER("_SURF_URI") },
                { MODKEY,                GDK_KEY_i,      scrollh,    { .i = +10 } },
                { MODKEY,                GDK_KEY_m,      spawn,      VIDEOPLAYTABBED("_SURF_URI") },