about summary refs log tree commit diff stats
path: root/config.arg.h
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@10kloc.org>2006-08-30 13:00:30 +0200
committerAnselm R. Garbe <arg@10kloc.org>2006-08-30 13:00:30 +0200
commit9927b9e64253643f409bd1ef22349cf4e9ca7727 (patch)
tree4ff426c340d06cd635075a9e12d47c49109cf795 /config.arg.h
parent1b492dffc8adce5fb061e9df4504f7dd1ebcf478 (diff)
downloaddwm-9927b9e64253643f409bd1ef22349cf4e9ca7727.tar.gz
small fix in config.arg.h
Diffstat (limited to 'config.arg.h')
-rw-r--r--config.arg.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.arg.h b/config.arg.h
index 7a03460..2d80342 100644
--- a/config.arg.h
+++ b/config.arg.h
@@ -27,9 +27,9 @@ static Key key[] = { \
 	{ MODKEY|ShiftMask,		XK_Return,	spawn, \
 		{ .cmd = "exec uxterm -bg '#111111' -fg '#eeeeee' -cr '#eeeeee' +sb -fn '"FONT"'" } }, \
 	{ MODKEY,			XK_p,		spawn, \
-		{ .cmd = "exec \"$(IFS=:; for dir in $PATH; do " \
-			"for file in \"$dir\"/*; do [ -x \"$file\" ] && echo \"${file##*/}\"; done; " \
-			"done | sort -u | dmenu)\"" } }, \
+		{ .cmd = "exe=\"$(IFS=:; for dir in $PATH; do " \
+			 "for file in \"$dir\"/*; do [ -x \"$file\" ] && echo \"${file##*/}\"; done; " \
+			 "done | sort -u | dmenu)\" && exec \"$exe\"" } }, \
 	{ MODKEY,			XK_j,		focusnext,	{ 0 } }, \
 	{ MODKEY,			XK_k,		focusprev,	{ 0 } }, \
 	{ MODKEY,			XK_Return,	zoom,		{ 0 } }, \
72738fc124130095ba4a5c33c84dea3'>^
f07bb12f ^






34a60763 ^
f07bb12f ^










1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44