JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
added heretag command which allows to tag a client of a foreign tag with current tag
[dwm.git] / event.c
diff --git a/event.c b/event.c
index 0fce36b..4b8c07b 100644 (file)
--- a/event.c
+++ b/event.c
@@ -35,6 +35,10 @@ Key key[] = {
        { Mod1Mask,                             XK_m,           maximize,               { 0 } }, 
        { Mod1Mask,                             XK_space,       dotile,         { 0 } }, 
        { Mod1Mask,                             XK_Return,      zoom,           { 0 } },
+       { ControlMask|ShiftMask,XK_0,           heretag,        { .i = Tscratch } }, 
+       { ControlMask|ShiftMask,XK_1,           heretag,        { .i = Tdev } }, 
+       { ControlMask|ShiftMask,XK_2,           heretag,        { .i = Twww } }, 
+       { ControlMask|ShiftMask,XK_3,           heretag,        { .i = Twork } }, 
        { Mod1Mask|ShiftMask,   XK_0,           replacetag,             { .i = Tscratch } }, 
        { Mod1Mask|ShiftMask,   XK_1,           replacetag,             { .i = Tdev } }, 
        { Mod1Mask|ShiftMask,   XK_2,           replacetag,             { .i = Twww } },