changeset: 164:46d516fd2167
tag: tip
user: Enno Boland (tox) <tox_AT_s01.de>
date: Fri Oct 30 13:38:14 2009 +0100
files: config.def.h
description:
changing SETPROP()-macro
diff -r 2998ef786732 -r 46d516fd2167 config.def.h
--- a/config.def.h Wed Oct 28 22:22:20 2009 +0100
+++ b/config.def.h Fri Oct 30 13:38:14 2009 +0100
@@ -9,7 +9,8 @@
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[] = {
Received on Fri Oct 30 2009 - 12:39:50 UTC
This archive was generated by hypermail 2.2.0 : Fri Oct 30 2009 - 12:48:05 UTC