summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2017-05-08 10:20:28 +0200
committerQuentin Rameau <quinq@fifth.space>2017-05-08 11:33:59 +0200
commitb8b0c050354d7961edeec74e644f09a3e2887074 (patch)
treec4d1f2309492611c855b9481a78a2294a7a4659e
parentdca42648635b70f7d01adb8d9a53720a0c7909c1 (diff)
downloadsurf-b8b0c050354d7961edeec74e644f09a3e2887074.tar.gz
surf-b8b0c050354d7961edeec74e644f09a3e2887074.tar.bz2
surf-b8b0c050354d7961edeec74e644f09a3e2887074.zip
Embed dmenu into the surf window by default
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index f858f5a..d90fc8d 100644
--- 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 \
} \
}