dwm-meillo
changeset 190:713dcc7d2c42
fixed a bug in dmenu call
author | arg@10ksloc.org |
---|---|
date | Fri, 04 Aug 2006 13:42:40 +0200 |
parents | 523df4a3c1c4 |
children | 56fee1dc9d53 |
files | config.arg.h config.default.h |
diffstat | 2 files changed, 3 insertions(+), 6 deletions(-) [+] |
line diff
1.1 --- a/config.arg.h Fri Aug 04 12:00:55 2006 +0200 1.2 +++ b/config.arg.h Fri Aug 04 13:42:40 2006 +0200 1.3 @@ -29,6 +29,9 @@ 1.4 { MODKEY, XK_k, focusprev, { 0 } }, \ 1.5 { MODKEY, XK_l, viewnext, { 0 } }, \ 1.6 { MODKEY, XK_m, togglemax, { 0 } }, \ 1.7 + { MODKEY, XK_p, spawn, \ 1.8 + { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null |" \ 1.9 + " awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \ 1.10 { MODKEY, XK_space, togglemode, { 0 } }, \ 1.11 { MODKEY, XK_Return, zoom, { 0 } }, \ 1.12 { MODKEY|ControlMask, XK_0, appendtag, { .i = 0 } }, \ 1.13 @@ -43,9 +46,6 @@ 1.14 { MODKEY|ShiftMask, XK_4, replacetag, { .i = 5 } }, \ 1.15 { MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \ 1.16 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ 1.17 - { MODKEY|ShiftMask, XK_x, spawn, \ 1.18 - { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null |" \ 1.19 - " awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \ 1.20 { MODKEY|ShiftMask, XK_Return, spawn, \ 1.21 { .cmd = "exec urxvt -tr +sb -bg black -fg white -cr white " \ 1.22 "-fn '-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*'" } }, \
2.1 --- a/config.default.h Fri Aug 04 12:00:55 2006 +0200 2.2 +++ b/config.default.h Fri Aug 04 13:42:40 2006 +0200 2.3 @@ -43,9 +43,6 @@ 2.4 { MODKEY|ShiftMask, XK_4, replacetag, { .i = 4 } }, \ 2.5 { MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \ 2.6 { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ 2.7 - /* { MODKEY|ShiftMask, XK_x, spawn, */ \ 2.8 - /* { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null |" */ \ 2.9 - /* " awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, */ \ 2.10 { MODKEY|ShiftMask, XK_Return, spawn, { .cmd = "exec xterm" } }, \ 2.11 }; 2.12