dwm-meillo
diff dev.c @ 53:529901e6a227
added mini stuff
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Thu, 13 Jul 2006 21:42:17 +0200 |
parents | d18f6dd0cf23 |
children | 5d4653de9a1c |
line diff
1.1 --- a/dev.c Thu Jul 13 20:28:19 2006 +0200 1.2 +++ b/dev.c Thu Jul 13 21:42:17 2006 +0200 1.3 @@ -20,27 +20,33 @@ 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_w, spawn, { .argv = browse } }, 1.9 - { Mod1Mask, XK_l, spawn, { .argv = xlock } }, 1.10 - { Mod1Mask, XK_k, prevc, { 0 } }, 1.11 - { Mod1Mask, XK_j, nextc, { 0 } }, 1.12 - { Mod1Mask, XK_m, max, { 0 } }, 1.13 - { Mod1Mask, XK_0, view, { .i = Tscratch } }, 1.14 - { Mod1Mask, XK_1, view, { .i = Tdev } }, 1.15 - { Mod1Mask, XK_2, view, { .i = Tirc } }, 1.16 - { Mod1Mask, XK_3, view, { .i = Twww } }, 1.17 - { Mod1Mask, XK_4, view, { .i = Twork } }, 1.18 - { Mod1Mask, XK_space, tiling, { 0 } }, 1.19 - { Mod1Mask | ShiftMask, XK_Return, zoom, { 0 } }, 1.20 - { Mod1Mask | ShiftMask, XK_space, floating, { 0 } }, 1.21 - { Mod1Mask | ShiftMask, XK_0, tag, { .i = Tscratch } }, 1.22 - { Mod1Mask | ShiftMask, XK_1, tag, { .i = Tdev } }, 1.23 - { Mod1Mask | ShiftMask, XK_2, tag, { .i = Tirc } }, 1.24 - { Mod1Mask | ShiftMask, XK_3, tag, { .i = Twww } }, 1.25 - { Mod1Mask | ShiftMask, XK_4, tag, { .i = Twork } }, 1.26 - { Mod1Mask | ShiftMask, XK_c, ckill, { 0 } }, 1.27 - { Mod1Mask | ShiftMask, XK_q, quit, { 0 } }, 1.28 + /* modifier key function arguments */ 1.29 + { Mod1Mask, XK_Return, zoom, { 0 } }, 1.30 + { Mod1Mask, XK_k, prevc, { 0 } }, 1.31 + { Mod1Mask, XK_j, nextc, { 0 } }, 1.32 + { Mod1Mask, XK_m, max, { 0 } }, 1.33 + { Mod1Mask, XK_0, view, { .i = Tscratch } }, 1.34 + { Mod1Mask, XK_1, view, { .i = Tdev } }, 1.35 + { Mod1Mask, XK_2, view, { .i = Tirc } }, 1.36 + { Mod1Mask, XK_3, view, { .i = Twww } }, 1.37 + { Mod1Mask, XK_4, view, { .i = Twork } }, 1.38 + { Mod1Mask, XK_space, tiling, { 0 } }, 1.39 + { Mod1Mask|ShiftMask, XK_space, floating, { 0 } }, 1.40 + { Mod1Mask|ShiftMask, XK_0, ttrunc, { .i = Tscratch } }, 1.41 + { Mod1Mask|ShiftMask, XK_1, ttrunc, { .i = Tdev } }, 1.42 + { Mod1Mask|ShiftMask, XK_2, ttrunc, { .i = Tirc } }, 1.43 + { Mod1Mask|ShiftMask, XK_3, ttrunc, { .i = Twww } }, 1.44 + { Mod1Mask|ShiftMask, XK_4, ttrunc, { .i = Twork } }, 1.45 + { Mod1Mask|ShiftMask, XK_c, ckill, { 0 } }, 1.46 + { Mod1Mask|ShiftMask, XK_q, quit, { 0 } }, 1.47 + { Mod1Mask|ShiftMask, XK_Return, spawn, { .argv = term } }, 1.48 + { Mod1Mask|ShiftMask, XK_w, spawn, { .argv = browse } }, 1.49 + { Mod1Mask|ShiftMask, XK_l, spawn, { .argv = xlock } }, 1.50 + { ControlMask, XK_0, tappend, { .i = Tscratch } }, 1.51 + { ControlMask, XK_1, tappend, { .i = Tdev } }, 1.52 + { ControlMask, XK_2, tappend, { .i = Tirc } }, 1.53 + { ControlMask, XK_3, tappend, { .i = Twww } }, 1.54 + { ControlMask, XK_4, tappend, { .i = Twork } }, 1.55 }; 1.56 1.57 /********** CUSTOMIZE **********/