pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c30a95c
)
changing SETPROP()-macro
author
Enno Boland (tox)
<tox@s01.de>
Fri, 30 Oct 2009 12:38:14 +0000
(13:38 +0100)
committer
Enno Boland (tox)
<tox@s01.de>
Fri, 30 Oct 2009 12:38:14 +0000
(13:38 +0100)
config.def.h
patch
|
blob
|
history
diff --git
a/config.def.h
b/config.def.h
index
ac6571a
..
245b952
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-9,7
+9,8
@@
static char *dldir = ".surf/dl";
static time_t sessiontime = 3600;
#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 } }
#define MODKEY GDK_CONTROL_MASK
static Key keys[] = {