about summary refs log tree commit diff stats
path: root/kb.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-13 01:30:55 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-13 01:30:55 +0200
commit8b59083eb13c0712e04d9a5b6d7bf4af5913c442 (patch)
treec71ce38a84380cd619c6bf7c478dc68ae3c20f9a /kb.c
parentda2bbd371c522d63d737d43a127601a3fdbcb9d8 (diff)
downloaddwm-8b59083eb13c0712e04d9a5b6d7bf4af5913c442.tar.gz
removed unnecessary crap
Diffstat (limited to 'kb.c')
-rw-r--r--kb.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/kb.c b/kb.c
index 7cd0ca5..2f16910 100644
--- a/kb.c
+++ b/kb.c
@@ -9,25 +9,19 @@
 
 /********** CUSTOMIZE **********/
 
-char *cmdterm[] = { 
+char *term[] = { 
 	"aterm", "-tr", "+sb", "-bg", "black", "-fg", "white", "-fn",
 	"-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*",NULL
 };
 
-char *cmdproglist[] = {
-		"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, cmdterm },
-	{ Mod1Mask, XK_p, run, cmdproglist}, 
+	{ Mod1Mask, XK_Return, run, term },
 	{ Mod1Mask, XK_k, sel, "prev" }, 
 	{ Mod1Mask, XK_j, sel, "next" }, 
 	{ Mod1Mask, XK_g, grid, NULL }, 
 	{ Mod1Mask, XK_f, floating, NULL }, 
 	{ Mod1Mask, XK_m, max, NULL }, 
-	{ Mod1Mask | ShiftMask, XK_c, kill, NULL }, 
+	{ Mod1Mask | ShiftMask, XK_c, ckill, NULL }, 
 	{ Mod1Mask | ShiftMask, XK_q, quit, NULL },
 };