mirror of git://git.suckless.org/dwm
prepared 0.3
This commit is contained in:
parent
4491bdda69
commit
1f9614f82e
11
event.c
11
event.c
|
@ -12,13 +12,7 @@
|
||||||
#define MouseMask (ButtonMask | PointerMotionMask)
|
#define MouseMask (ButtonMask | PointerMotionMask)
|
||||||
|
|
||||||
/* CUSTOMIZE */
|
/* CUSTOMIZE */
|
||||||
const char *browse[] = { "firefox", NULL };
|
const char *term[] = { "xterm", NULL };
|
||||||
const char *gimp[] = { "gimp", NULL };
|
|
||||||
const char *term[] = {
|
|
||||||
"urxvtc", "-tr", "+sb", "-bg", "black", "-fg", "white", "-cr", "white",
|
|
||||||
"-fn", "-*-terminus-medium-*-*-*-13-*-*-*-*-*-iso10646-*", NULL
|
|
||||||
};
|
|
||||||
const char *xlock[] = { "xlock", NULL };
|
|
||||||
|
|
||||||
Key key[] = {
|
Key key[] = {
|
||||||
/* modifier key function arguments */
|
/* modifier key function arguments */
|
||||||
|
@ -44,11 +38,8 @@ Key key[] = {
|
||||||
{ Mod1Mask|ShiftMask, XK_2, replacetag, { .i = Twww } },
|
{ Mod1Mask|ShiftMask, XK_2, replacetag, { .i = Twww } },
|
||||||
{ Mod1Mask|ShiftMask, XK_3, replacetag, { .i = Twork } },
|
{ Mod1Mask|ShiftMask, XK_3, replacetag, { .i = Twork } },
|
||||||
{ Mod1Mask|ShiftMask, XK_c, killclient, { 0 } },
|
{ Mod1Mask|ShiftMask, XK_c, killclient, { 0 } },
|
||||||
{ Mod1Mask|ShiftMask, XK_g, spawn, { .argv = gimp } },
|
|
||||||
{ Mod1Mask|ShiftMask, XK_l, spawn, { .argv = xlock } },
|
|
||||||
{ Mod1Mask|ShiftMask, XK_q, quit, { 0 } },
|
{ Mod1Mask|ShiftMask, XK_q, quit, { 0 } },
|
||||||
{ Mod1Mask|ShiftMask, XK_space, dofloat, { 0 } },
|
{ Mod1Mask|ShiftMask, XK_space, dofloat, { 0 } },
|
||||||
{ Mod1Mask|ShiftMask, XK_w, spawn, { .argv = browse } },
|
|
||||||
{ Mod1Mask|ShiftMask, XK_Return, spawn, { .argv = term } },
|
{ Mod1Mask|ShiftMask, XK_Return, spawn, { .argv = term } },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue