diff options
author | Enno Boland (tox) <tox@s01.de> | 2009-10-30 13:38:14 +0100 |
---|---|---|
committer | Enno Boland (tox) <tox@s01.de> | 2009-10-30 13:38:14 +0100 |
commit | c00ee3eb78706a5efdcebcba8569630bdfb214f7 (patch) | |
tree | cb14a5e61c77eef5eb54a1f2e7950461f7618af9 /config.def.h | |
parent | c30a95c635bbd6a737096067e000993582ff75cf (diff) | |
download | surf-c00ee3eb78706a5efdcebcba8569630bdfb214f7.tar.gz surf-c00ee3eb78706a5efdcebcba8569630bdfb214f7.tar.bz2 surf-c00ee3eb78706a5efdcebcba8569630bdfb214f7.zip |
changing SETPROP()-macro0.3
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index ac6571a..245b952 100644 --- 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[] = { |