dwm-meillo

diff dev.c @ 50:148f25ed0ad7

several other additions/fixes, dwm is quite usable already
author Anselm R. Garbe <garbeam@wmii.de>
date Thu, 13 Jul 2006 18:21:38 +0200
parents 466591c2f967
children 035617ee18d1
line diff
     1.1 --- a/dev.c	Thu Jul 13 17:09:35 2006 +0200
     1.2 +++ b/dev.c	Thu Jul 13 18:21:38 2006 +0200
     1.3 @@ -20,19 +20,25 @@
     1.4  const char *xlock[] = { "xlock", NULL };
     1.5  
     1.6  static Key key[] = {
     1.7 -	{ Mod1Mask, XK_Return, spawn, { .argv = term } },
     1.8 +	{ Mod1Mask, XK_Return, zoom, { 0 } },
     1.9 +	{ Mod1Mask, XK_t, spawn, { .argv = term } },
    1.10  	{ Mod1Mask, XK_w, spawn, { .argv = browse } },
    1.11  	{ Mod1Mask, XK_l, spawn, { .argv = xlock } },
    1.12  	{ Mod1Mask, XK_k, prevc, { 0 } },
    1.13  	{ Mod1Mask, XK_j, nextc, { 0 } }, 
    1.14 -	{ Mod1Mask, XK_t, tiling, { 0 } }, 
    1.15 -	{ Mod1Mask, XK_f, floating, { 0 } }, 
    1.16  	{ Mod1Mask, XK_m, max, { 0 } }, 
    1.17 -	{ Mod1Mask, XK_0, tag, { .i = Tscratch } }, 
    1.18 -	{ Mod1Mask, XK_1, tag, { .i = Tdev } }, 
    1.19 -	{ Mod1Mask, XK_2, tag, { .i = Tirc } }, 
    1.20 -	{ Mod1Mask, XK_3, tag, { .i = Twww } }, 
    1.21 -	{ Mod1Mask, XK_4, tag, { .i = Twork } }, 
    1.22 +	{ Mod1Mask, XK_0, view, { .i = Tscratch } }, 
    1.23 +	{ Mod1Mask, XK_1, view, { .i = Tdev } }, 
    1.24 +	{ Mod1Mask, XK_2, view, { .i = Tirc } }, 
    1.25 +	{ Mod1Mask, XK_3, view, { .i = Twww } }, 
    1.26 +	{ Mod1Mask, XK_4, view, { .i = Twork } }, 
    1.27 +	{ Mod1Mask, XK_space, tiling, { 0 } }, 
    1.28 +	{ Mod1Mask | ShiftMask, XK_space, floating, { 0 } }, 
    1.29 +	{ Mod1Mask | ShiftMask, XK_0, tag, { .i = Tscratch } }, 
    1.30 +	{ Mod1Mask | ShiftMask, XK_1, tag, { .i = Tdev } }, 
    1.31 +	{ Mod1Mask | ShiftMask, XK_2, tag, { .i = Tirc } }, 
    1.32 +	{ Mod1Mask | ShiftMask, XK_3, tag, { .i = Twww } }, 
    1.33 +	{ Mod1Mask | ShiftMask, XK_4, tag, { .i = Twork } }, 
    1.34  	{ Mod1Mask | ShiftMask, XK_c, ckill, { 0 } }, 
    1.35  	{ Mod1Mask | ShiftMask, XK_q, quit, { 0 } },
    1.36  };