SETPROP() macro shows now the current value in dwm.
This commit is contained in:
parent
c0510b0cc9
commit
b57eca1a2b
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +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", \
|
||||||
"prop=\"`dmenu < /dev/null`\" &&" \
|
"prop=\"`xprop -id $1 $0 | cut -d '\"' -f 2 | dmenu`\" &&" \
|
||||||
"xprop -id $1 -f $0 8s -set $0 \"$prop\"", \
|
"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 a new issue