mirror of git://git.suckless.org/dwm
prepared 0.5
This commit is contained in:
parent
0464e42231
commit
db98a7d60f
12
event.c
12
event.c
|
@ -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 };
|
||||||
|
/*
|
||||||
"urxvt", "-tr", "+sb", "-bg", "black", "-fg", "white", "-cr", "white",
|
"urxvt", "-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 };
|
const char *xlock[] = { "xlock", NULL };
|
||||||
|
*/
|
||||||
|
|
||||||
static Key key[] = {
|
static Key key[] = {
|
||||||
/* modifier key function arguments */
|
/* modifier key function arguments */
|
||||||
|
@ -51,11 +55,13 @@ static Key key[] = {
|
||||||
{ MODKEY|ShiftMask, XK_3, replacetag, { .i = Twork } },
|
{ MODKEY|ShiftMask, XK_3, replacetag, { .i = Twork } },
|
||||||
{ MODKEY|ShiftMask, XK_4, replacetag, { .i = Tmisc } },
|
{ MODKEY|ShiftMask, XK_4, replacetag, { .i = Tmisc } },
|
||||||
{ MODKEY|ShiftMask, XK_c, killclient, { 0 } },
|
{ MODKEY|ShiftMask, XK_c, killclient, { 0 } },
|
||||||
|
{ MODKEY|ShiftMask, XK_q, quit, { 0 } },
|
||||||
|
{ MODKEY|ShiftMask, XK_Return, spawn, { .argv = term } },
|
||||||
|
/*
|
||||||
{ 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_w, spawn, { .argv = browse } },
|
{ MODKEY|ShiftMask, XK_w, spawn, { .argv = browse } },
|
||||||
{ MODKEY|ShiftMask, XK_Return, spawn, { .argv = term } },
|
*/
|
||||||
};
|
};
|
||||||
|
|
||||||
/* END CUSTOMIZE */
|
/* END CUSTOMIZE */
|
||||||
|
|
Loading…
Reference in New Issue