pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dca4264
)
Embed dmenu into the surf window by default
author
Quentin Rameau
<quinq@fifth.space>
Mon, 8 May 2017 08:20:28 +0000
(10:20 +0200)
committer
Quentin Rameau
<quinq@fifth.space>
Mon, 8 May 2017 09:33:59 +0000
(11:33 +0200)
config.def.h
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
f858f5a
..
d90fc8d
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-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 \
} \
}