pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0510b0
)
SETPROP() macro shows now the current value in dwm.
author
Enno Boland (tox)
<tox@s01.de>
Sun, 8 Nov 2009 22:45:11 +0000
(23:45 +0100)
committer
Enno Boland (tox)
<tox@s01.de>
Sun, 8 Nov 2009 22:45:11 +0000
(23:45 +0100)
config.def.h
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
245b952
..
493570b
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-9,8
+9,8
@@
static char *dldir = ".surf/dl";
static time_t sessiontime = 3600;
#define SETPROP(p) { .v = (char *[]){ "/bin/sh", "-c", \
- "prop=\"`
dmenu < /dev/null
`\" &&" \
-
"xprop -id $1 -f $0 8s -set $0 \"$prop\"", \
+ "prop=\"`
xprop -id $1 $0 | cut -d '\"' -f 2 | dmenu
`\" &&" \
+ "xprop -id $1 -f $0 8s -set $0 \"$prop\"", \
p, winid, NULL } }
#define MODKEY GDK_CONTROL_MASK
static Key keys[] = {