changeset: 168:a02be7adebf7
user: Enno Boland (tox) <tox_AT_s01.de>
date: Sun Nov 08 23:45:11 2009 +0100
files: config.def.h
description:
SETPROP() macro shows now the current value in dwm.
diff -r e9798f4e063a -r a02be7adebf7 config.def.h
--- a/config.def.h Mon Nov 02 09:29:54 2009 +0100
+++ b/config.def.h Sun Nov 08 23:45:11 2009 +0100
@@ -9,8 +9,8 @@
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[] = {
Received on Sun Nov 08 2009 - 21:44:07 UTC
This archive was generated by hypermail 2.2.0 : Sun Nov 08 2009 - 21:48:06 UTC