Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1b492df
)
small fix in config.arg.h
author
Anselm R. Garbe
<arg@10kloc.org>
Wed, 30 Aug 2006 11:00:30 +0000
(13:00 +0200)
committer
Anselm R. Garbe
<arg@10kloc.org>
Wed, 30 Aug 2006 11:00:30 +0000
(13:00 +0200)
config.arg.h
patch
|
blob
|
history
diff --git
a/config.arg.h
b/config.arg.h
index
7a03460
..
2d80342
100644
(file)
--- 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, \
{ 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 } }, \
{ MODKEY, XK_j, focusnext, { 0 } }, \
{ MODKEY, XK_k, focusprev, { 0 } }, \
{ MODKEY, XK_Return, zoom, { 0 } }, \