summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorLucas Gabriel Vuotto <lvuotto92@gmail.com>2018-03-10 02:44:38 -0300
committerHiltjo Posthuma <hiltjo@codemadness.org>2018-03-11 13:21:23 +0100
commita327374a23abf7f75a8a149c4f333cc49d17b07e (patch)
treeda03eed57ecf2ea229d7b01cf247dd123bdf68ab /config.def.h
parentbbcdf1544c1b602dc8a1525ccce513ecbc40392d (diff)
downloadtabbed-a327374a23abf7f75a8a149c4f333cc49d17b07e.tar.gz
Embed dmenu in tabbed own window
Signed-off-by: Lucas Gabriel Vuotto <lgv@nanashi.co>
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index 2d23049..defa426 100644
--- a/config.def.h
+++ b/config.def.h
@@ -27,7 +27,7 @@ static Bool npisrelative = False;
.v = (char *[]){ "/bin/sh", "-c", \
"prop=\"`xwininfo -children -id $1 | grep '^ 0x' |" \
"sed -e's@^ *\\(0x[0-9a-f]*\\) \"\\([^\"]*\\)\".*@\\1 \\2@' |" \
- "xargs -0 printf %b | dmenu -l 10`\" &&" \
+ "xargs -0 printf %b | dmenu -l 10 -w $1`\" &&" \
"xprop -id $1 -f $0 8s -set $0 \"$prop\"", \
p, winid, NULL \
} \