tEmbed dmenu into the surf window by default - surf - 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 b8b0c050354d7961edeec74e644f09a3e2887074
 (DIR) parent dca42648635b70f7d01adb8d9a53720a0c7909c1
 (HTM) Author: Quentin Rameau <quinq@fifth.space>
       Date:   Mon,  8 May 2017 10:20:28 +0200
       
       Embed dmenu into the surf window by default
       
       Diffstat:
         M config.def.h                        |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/config.def.h b/config.def.h
       t@@ -55,7 +55,7 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE |
                .v = (const char *[]){ "/bin/sh", "-c", \
                     "prop=\"$(printf '%b' \"$(xprop -id $1 $2 " \
                     "| sed \"s/^$2(STRING) = //;s/^\\\"\\(.*\\)\\\"$/\\1/\")\" " \
       -             "| dmenu)\" && xprop -id $1 -f $3 8s -set $3 \"$prop\"", \
       +             "| dmenu -w $1)\" && xprop -id $1 -f $3 8s -set $3 \"$prop\"", \
                     "surf-setprop", winid, r, s, NULL \
                } \
        }