A typo in SETPROP macro: should be ``printf %b'', not ``printf''.
authorAlexander Sedov <alex0player@gmail.com>
Fri, 29 Mar 2013 20:31:23 +0000 (00:31 +0400)
committerChristoph Lohmann <20h@r-36.net>
Sat, 30 Mar 2013 05:49:57 +0000 (06:49 +0100)
Signed-off-by: Christoph Lohmann <20h@r-36.net>
config.def.h

index 3ddfaf8..ed8fbbe 100644 (file)
@@ -23,7 +23,7 @@ static Bool hidebackground  = FALSE;
 
 #define SETPROP(p, q) { \
        .v = (char *[]){ "/bin/sh", "-c", \
-               "prop=\"`xprop -id $2 $0 | cut -d '\"' -f 2 | xargs -0 printf | dmenu`\" &&" \
+               "prop=\"`xprop -id $2 $0 | cut -d '\"' -f 2 | xargs -0 printf %b | dmenu`\" &&" \
                "xprop -id $2 -f $1 8s -set $1 \"$prop\"", \
                p, q, winid, NULL \
        } \