diff options
author | arg@10ksloc.org <unknown> | 2006-08-04 13:42:40 +0200 |
---|---|---|
committer | arg@10ksloc.org <unknown> | 2006-08-04 13:42:40 +0200 |
commit | f504aea13289c7fd25d499d2582558d4e311bfbf (patch) | |
tree | 45fed35f5c99a6a8cf3c25fecaa5a518970b7b6f | |
parent | 9955ddc978c2e6acfe246f29f1d317b55d860757 (diff) | |
download | dwm-f504aea13289c7fd25d499d2582558d4e311bfbf.tar.gz dwm-f504aea13289c7fd25d499d2582558d4e311bfbf.tar.bz2 dwm-f504aea13289c7fd25d499d2582558d4e311bfbf.zip |
fixed a bug in dmenu call
-rw-r--r-- | config.arg.h | 6 | ||||
-rw-r--r-- | config.default.h | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/config.arg.h b/config.arg.h index 05b350f..4297376 100644 --- a/config.arg.h +++ b/config.arg.h @@ -29,6 +29,9 @@ static Key key[] = { \ { MODKEY, XK_k, focusprev, { 0 } }, \ { MODKEY, XK_l, viewnext, { 0 } }, \ { MODKEY, XK_m, togglemax, { 0 } }, \ + { MODKEY, XK_p, spawn, \ + { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null |" \ + " awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \ { MODKEY, XK_space, togglemode, { 0 } }, \ { MODKEY, XK_Return, zoom, { 0 } }, \ { MODKEY|ControlMask, XK_0, appendtag, { .i = 0 } }, \ @@ -43,9 +46,6 @@ static Key key[] = { \ { MODKEY|ShiftMask, XK_4, replacetag, { .i = 5 } }, \ { MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \ { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ - { MODKEY|ShiftMask, XK_x, spawn, \ - { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null |" \ - " awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, \ { MODKEY|ShiftMask, XK_Return, spawn, \ { .cmd = "exec urxvt -tr +sb -bg black -fg white -cr white " \ "-fn '-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*'" } }, \ diff --git a/config.default.h b/config.default.h index cefb7f7..f3fd7b7 100644 --- a/config.default.h +++ b/config.default.h @@ -43,9 +43,6 @@ static Key key[] = { \ { MODKEY|ShiftMask, XK_4, replacetag, { .i = 4 } }, \ { MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \ { MODKEY|ShiftMask, XK_q, quit, { 0 } }, \ - /* { MODKEY|ShiftMask, XK_x, spawn, */ \ - /* { .cmd = "exec `ls -lL /usr/bin /usr/local/bin 2>/dev/null |" */ \ - /* " awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | dmenu`" } }, */ \ { MODKEY|ShiftMask, XK_Return, spawn, { .cmd = "exec xterm" } }, \ }; |