~strahinja/surf

263e05c6483365b5937a367135283ef81891c243 — Страхиња Радић 1 year, 7 months ago e2d30ff
config.h,config.def.h: Adjust patched config for current surf

Signed-off-by: Страхиња Радић <contact@strahinja.org>
2 files changed, 4 insertions(+), 4 deletions(-)

M config.def.h
M config.h
M config.def.h => config.def.h +2 -2
@@ 82,9 82,9 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE |
#define SETPROP(r, s, p) { \
        .v = (const char *[]){ "/bin/sh", "-c", \
             "prop=\"$(printf '%b' \"$(xprop -id $1 $2 " \
             "| sed \"s/^$2(STRING) = //;s/^\\\"\\(.*\\)\\\"$/\\1/\" && cat ~/.surf/bookmarks)\" " \
             "| sed \"s/^$2(UTF8_STRING) = //;s/^\\\"\\(.*\\)\\\"$/\\1/\" && cat ~/.surf/bookmarks)\" " \
             "| dmenu -l 10 -p \"$4\" -w $1)\" && " \
             "xprop -id $1 -f $3 8s -set $3 \"$prop\"", \
             "xprop -id $1 -f $3 8u -set $3 \"$prop\"", \
             "surf-setprop", winid, r, s, p, NULL \
        } \
}

M config.h => config.h +2 -2
@@ 82,9 82,9 @@ static WebKitFindOptions findopts = WEBKIT_FIND_OPTIONS_CASE_INSENSITIVE |
#define SETPROP(r, s, p) { \
        .v = (const char *[]){ "/bin/sh", "-c", \
             "prop=\"$(printf '%b' \"$(xprop -id $1 $2 " \
             "| sed \"s/^$2(STRING) = //;s/^\\\"\\(.*\\)\\\"$/\\1/\" && cat ~/.surf/bookmarks)\" " \
             "| sed \"s/^$2(UTF8_STRING) = //;s/^\\\"\\(.*\\)\\\"$/\\1/\" && cat ~/.surf/bookmarks)\" " \
             "| dmenu -l 10 -p \"$4\" -w $1)\" && " \
             "xprop -id $1 -f $3 8s -set $3 \"$prop\"", \
             "xprop -id $1 -f $3 8u -set $3 \"$prop\"", \
             "surf-setprop", winid, r, s, p, NULL \
        } \
}