about summary refs log tree commit diff stats
path: root/dev.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-13 18:21:38 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-13 18:21:38 +0200
commitefa7e514012865fcb3e9ea6e7d5b5c87d84353e5 (patch)
tree0de62a03a41d3c374abaad67146b9caf3c854615 /dev.c
parentc47da143bdf5b4e3924a411f42648d4b3e86ff00 (diff)
downloaddwm-efa7e514012865fcb3e9ea6e7d5b5c87d84353e5.tar.gz
several other additions/fixes, dwm is quite usable already
Diffstat (limited to 'dev.c')
-rw-r--r--dev.c22
1 files changed, 14 insertions, 8 deletions
diff --git a/dev.c b/dev.c
index aaab99a..d788320 100644
--- a/dev.c
+++ b/dev.c
@@ -20,19 +20,25 @@ const char *browse[] = { "firefox", NULL };
 const char *xlock[] = { "xlock", NULL };
 
 static Key key[] = {
-	{ Mod1Mask, XK_Return, spawn, { .argv = term } },
+	{ Mod1Mask, XK_Return, zoom, { 0 } },
+	{ Mod1Mask, XK_t, spawn, { .argv = term } },
 	{ Mod1Mask, XK_w, spawn, { .argv = browse } },
 	{ Mod1Mask, XK_l, spawn, { .argv = xlock } },
 	{ Mod1Mask, XK_k, prevc, { 0 } },
 	{ Mod1Mask, XK_j, nextc, { 0 } }, 
-	{ Mod1Mask, XK_t, tiling, { 0 } }, 
-	{ Mod1Mask, XK_f, floating, { 0 } }, 
 	{ Mod1Mask, XK_m, max, { 0 } }, 
-	{ Mod1Mask, XK_0, tag, { .i = Tscratch } }, 
-	{ Mod1Mask, XK_1, tag, { .i = Tdev } }, 
-	{ Mod1Mask, XK_2, tag, { .i = Tirc } }, 
-	{ Mod1Mask, XK_3, tag, { .i = Twww } }, 
-	{ Mod1Mask, XK_4, tag, { .i = Twork } }, 
+	{ Mod1Mask, XK_0, view, { .i = Tscratch } }, 
+	{ Mod1Mask, XK_1, view, { .i = Tdev } }, 
+	{ Mod1Mask, XK_2, view, { .i = Tirc } }, 
+	{ Mod1Mask, XK_3, view, { .i = Twww } }, 
+	{ Mod1Mask, XK_4, view, { .i = Twork } }, 
+	{ Mod1Mask, XK_space, tiling, { 0 } }, 
+	{ Mod1Mask | ShiftMask, XK_space, floating, { 0 } }, 
+	{ Mod1Mask | ShiftMask, XK_0, tag, { .i = Tscratch } }, 
+	{ Mod1Mask | ShiftMask, XK_1, tag, { .i = Tdev } }, 
+	{ Mod1Mask | ShiftMask, XK_2, tag, { .i = Tirc } }, 
+	{ Mod1Mask | ShiftMask, XK_3, tag, { .i = Twww } }, 
+	{ Mod1Mask | ShiftMask, XK_4, tag, { .i = Twork } }, 
 	{ Mod1Mask | ShiftMask, XK_c, ckill, { 0 } }, 
 	{ Mod1Mask | ShiftMask, XK_q, quit, { 0 } },
 };