|
@ -20,13 +20,17 @@ typedef struct { |
|
|
Arg arg; |
|
|
Arg arg; |
|
|
} Key; |
|
|
} Key; |
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
const char *browse[] = { "firefox", NULL }; |
|
|
const char *browse[] = { "firefox", NULL }; |
|
|
const char *gimp[] = { "gimp", NULL }; |
|
|
const char *gimp[] = { "gimp", NULL }; |
|
|
const char *term[] = { |
|
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
const char *term[] = { "xterm", NULL }; |
|
|
|
|
|
/* |
|
|
"urxvtc", "-tr", "+sb", "-bg", "black", "-fg", "white", "-cr", "white", |
|
|
"urxvtc", "-tr", "+sb", "-bg", "black", "-fg", "white", "-cr", "white", |
|
|
"-fn", "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*", NULL |
|
|
"-fn", "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*", NULL |
|
|
}; |
|
|
}; |
|
|
const char *xlock[] = { "xlock", NULL }; |
|
|
|
|
|
|
|
|
coonst char *xlock[] = { "xlock", NULL }; |
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
static Key key[] = { |
|
|
static Key key[] = { |
|
|
/* modifier key function arguments */ |
|
|
/* modifier key function arguments */ |
|
@ -52,11 +56,13 @@ static Key key[] = { |
|
|
{ MODKEY|ShiftMask, XK_2, replacetag, { .i = Twww } }, |
|
|
{ MODKEY|ShiftMask, XK_2, replacetag, { .i = Twww } }, |
|
|
{ MODKEY|ShiftMask, XK_3, replacetag, { .i = Twork } }, |
|
|
{ MODKEY|ShiftMask, XK_3, replacetag, { .i = Twork } }, |
|
|
{ MODKEY|ShiftMask, XK_c, killclient, { 0 } }, |
|
|
{ MODKEY|ShiftMask, XK_c, killclient, { 0 } }, |
|
|
|
|
|
/* |
|
|
{ MODKEY|ShiftMask, XK_g, spawn, { .argv = gimp } }, |
|
|
{ MODKEY|ShiftMask, XK_g, spawn, { .argv = gimp } }, |
|
|
{ MODKEY|ShiftMask, XK_l, spawn, { .argv = xlock } }, |
|
|
{ MODKEY|ShiftMask, XK_l, spawn, { .argv = xlock } }, |
|
|
|
|
|
*/ |
|
|
{ MODKEY|ShiftMask, XK_q, quit, { 0 } }, |
|
|
{ MODKEY|ShiftMask, XK_q, quit, { 0 } }, |
|
|
{ MODKEY|ShiftMask, XK_space, dofloat, { 0 } }, |
|
|
{ MODKEY|ShiftMask, XK_space, dofloat, { 0 } }, |
|
|
{ MODKEY|ShiftMask, XK_w, spawn, { .argv = browse } }, |
|
|
|
|
|
|
|
|
/*{ MODKEY|ShiftMask, XK_w, spawn, { .argv = browse } },*/ |
|
|
{ MODKEY|ShiftMask, XK_Return, spawn, { .argv = term } }, |
|
|
{ MODKEY|ShiftMask, XK_Return, spawn, { .argv = term } }, |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|