[hackers] [PATCH 1/2] Embed dmenu in tabbed own window

From: Lucas Gabriel Vuotto <lvuotto92_AT_gmail.com>
Date: Sat, 10 Mar 2018 02:44:38 -0300

Signed-off-by: Lucas Gabriel Vuotto <lgv_AT_nanashi.co>
---
 config.def.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.def.h b/config.def.h
index 2d23049..defa426 100644
--- a/config.def.h
+++ b/config.def.h
_AT_@ -27,7 +27,7 @@ static Bool npisrelative  = False;
         .v = (char *[]){ "/bin/sh", "-c", \
                 "prop=\"`xwininfo -children -id $1 | grep '^     0x' |" \
                 "sed -e's_AT_^ *\\(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 \
         } \
-- 
2.16.0
Received on Sat Mar 10 2018 - 06:44:38 CET

This archive was generated by hypermail 2.3.0 : Sat Mar 10 2018 - 06:48:24 CET