Embed dmenu in tabbed own window

Signed-off-by: Lucas Gabriel Vuotto <lgv@nanashi.co>
This commit is contained in:
Lucas Gabriel Vuotto 2018-03-10 02:44:38 -03:00 committed by Hiltjo Posthuma
parent bbcdf1544c
commit a327374a23
1 changed files with 1 additions and 1 deletions

View File

@ -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 \
} \