diff options
author | Anselm R. Garbe | 2006-07-13 21:42:17 +0200 |
---|---|---|
committer | Anselm R. Garbe | 2006-07-13 21:42:17 +0200 |
commit | 66da15324eef4f85c6dda13eba80430dc4cc97bb (patch) | |
tree | b2ecd808ad31e5237cabebdc7d80fc6a4edaf1f4 /dev.c | |
parent | 7fe717c29f9dafc4fc38313adbbb7c85619dec69 (diff) |
added mini stuff
Diffstat (limited to 'dev.c')
-rw-r--r-- | dev.c | 48 |
1 files changed, 27 insertions, 21 deletions
@@ -20,27 +20,33 @@ const char *browse[] = { "firefox", NULL }; const char *xlock[] = { "xlock", NULL }; static Key key[] = { - { Mod1Mask, XK_Return, 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_m, max, { 0 } }, - { 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_Return, zoom, { 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 } }, + /* modifier key function arguments */ + { Mod1Mask, XK_Return, zoom, { 0 } }, + { Mod1Mask, XK_k, prevc, { 0 } }, + { Mod1Mask, XK_j, nextc, { 0 } }, + { Mod1Mask, XK_m, max, { 0 } }, + { 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, ttrunc, { .i = Tscratch } }, + { Mod1Mask|ShiftMask, XK_1, ttrunc, { .i = Tdev } }, + { Mod1Mask|ShiftMask, XK_2, ttrunc, { .i = Tirc } }, + { Mod1Mask|ShiftMask, XK_3, ttrunc, { .i = Twww } }, + { Mod1Mask|ShiftMask, XK_4, ttrunc, { .i = Twork } }, + { Mod1Mask|ShiftMask, XK_c, ckill, { 0 } }, + { Mod1Mask|ShiftMask, XK_q, quit, { 0 } }, + { Mod1Mask|ShiftMask, XK_Return, spawn, { .argv = term } }, + { Mod1Mask|ShiftMask, XK_w, spawn, { .argv = browse } }, + { Mod1Mask|ShiftMask, XK_l, spawn, { .argv = xlock } }, + { ControlMask, XK_0, tappend, { .i = Tscratch } }, + { ControlMask, XK_1, tappend, { .i = Tdev } }, + { ControlMask, XK_2, tappend, { .i = Tirc } }, + { ControlMask, XK_3, tappend, { .i = Twww } }, + { ControlMask, XK_4, tappend, { .i = Twork } }, }; /********** CUSTOMIZE **********/ |