changing SETPROP()-macro
This commit is contained in:
parent
c30a95c635
commit
c00ee3eb78
|
@ -9,7 +9,8 @@ static char *dldir = ".surf/dl";
|
||||||
static time_t sessiontime = 3600;
|
static time_t sessiontime = 3600;
|
||||||
|
|
||||||
#define SETPROP(p) { .v = (char *[]){ "/bin/sh", "-c", \
|
#define SETPROP(p) { .v = (char *[]){ "/bin/sh", "-c", \
|
||||||
"xprop -id $1 -f $0 8s -set $0 \"`echo -n | dmenu || exit 0`\"", \
|
"prop=\"`dmenu < /dev/null`\" &&" \
|
||||||
|
"xprop -id $1 -f $0 8s -set $0 \"$prop\"", \
|
||||||
p, winid, NULL } }
|
p, winid, NULL } }
|
||||||
#define MODKEY GDK_CONTROL_MASK
|
#define MODKEY GDK_CONTROL_MASK
|
||||||
static Key keys[] = {
|
static Key keys[] = {
|
||||||
|
|
Loading…
Reference in New Issue