aboutsummaryrefslogtreecommitdiffstats
path: root/kb.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-12 16:00:51 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-12 16:00:51 +0200
commit4641aa2925731ac180b08c80f57db176391ea4a9 (patch)
tree0908650ef67b9dc4040d026fdd4492ac29f75d7d /kb.c
parentdfd84f9bf3b9d949412a73bc62a43109b340d395 (diff)
downloaddwm-4641aa2925731ac180b08c80f57db176391ea4a9.tar.gz
added grid mode on Mod1Mask g
Diffstat (limited to 'kb.c')
-rw-r--r--kb.c12
1 files changed, 7 insertions, 5 deletions
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