From 4641aa2925731ac180b08c80f57db176391ea4a9 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Wed, 12 Jul 2006 16:00:51 +0200 Subject: added grid mode on Mod1Mask g --- kb.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'kb.c') diff --git a/kb.c b/kb.c index 7eb788a..76dc29e 100644 --- a/kb.c +++ b/kb.c @@ -13,16 +13,18 @@ static const char *term[] = { }; static const char *proglist[] = { - "sh", "-c", "exec `ls -lL /bin /sbin /usr/bin /usr/local/bin 2>/dev/null | awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | gridmenu`", 0 + "sh", "-c", "exec `ls -lL /bin /sbin /usr/bin /usr/local/bin 2>/dev/null " + "| awk 'NF>2 && $1 ~ /^[^d].*x/ {print $NF}' | sort | uniq | gridmenu`", 0 }; static Key key[] = { { Mod1Mask, XK_Return, run, term }, { Mod1Mask, XK_p, run, proglist }, - { Mod1Mask, XK_k, sel, "prev"}, - { Mod1Mask, XK_j, sel, "next"}, - { Mod1Mask | ShiftMask, XK_c, kill, NULL}, - { Mod1Mask | ShiftMask, XK_q, quit, NULL}, + { Mod1Mask, XK_k, sel, "prev" }, + { Mod1Mask, XK_j, sel, "next" }, + { Mod1Mask, XK_g, arrange, NULL }, + { Mod1Mask | ShiftMask, XK_c, kill, NULL }, + { Mod1Mask | ShiftMask, XK_q, quit, NULL }, }; void -- cgit v1.2.3