commit a327374a23abf7f75a8a149c4f333cc49d17b07e
Author:     Lucas Gabriel Vuotto <lvuott...@gmail.com>
AuthorDate: Sat Mar 10 02:44:38 2018 -0300
Commit:     Hiltjo Posthuma <hil...@codemadness.org>
CommitDate: Sun Mar 11 13:21:23 2018 +0100

    Embed dmenu in tabbed own window
    
    Signed-off-by: Lucas Gabriel Vuotto <l...@nanashi.co>

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

Reply via email to