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:04:38 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-13 01:04:38 +0200
commitda2bbd371c522d63d737d43a127601a3fdbcb9d8 (patch)
treefe7f5874dc09c446d3da38f15930c5f6ae523c13 /kb.c
parentb1701adf75297747c52e0c3ed2c314cd10129907 (diff)
downloaddwm-da2bbd371c522d63d737d43a127601a3fdbcb9d8.tar.gz
before leaning things up
Diffstat (limited to 'kb.c')
-rw-r--r--kb.c17
1 files changed, 11 insertions, 6 deletions
diff --git a/kb.c b/kb.c
index ad7c717..7cd0ca5 100644
--- a/kb.c
+++ b/kb.c
@@ -7,27 +7,32 @@
 
 #include <X11/keysym.h>
 
-static const char *term[] = { 
+/********** CUSTOMIZE **********/
+
+char *cmdterm[] = { 
 	"aterm", "-tr", "+sb", "-bg", "black", "-fg", "white", "-fn",
-	"-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*", 0 
+	"-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*",NULL
 };
 
-static const char *proglist[] = {
+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, term },
-	{ Mod1Mask, XK_p, run, proglist }, 
+	{ Mod1Mask, XK_Return, run, cmdterm },
+	{ Mod1Mask, XK_p, run, cmdproglist}, 
 	{ Mod1Mask, XK_k, sel, "prev" }, 
 	{ Mod1Mask, XK_j, sel, "next" }, 
-	{ Mod1Mask, XK_g, arrange, NULL }, 
+	{ Mod1Mask, XK_g, grid, NULL }, 
+	{ Mod1Mask, XK_f, floating, NULL }, 
 	{ Mod1Mask, XK_m, max, NULL }, 
 	{ Mod1Mask | ShiftMask, XK_c, kill, NULL }, 
 	{ Mod1Mask | ShiftMask, XK_q, quit, NULL },
 };
 
+/********** CUSTOMIZE **********/
+
 void
 update_keys()
 {