mirror of git://git.suckless.org/dwm
applied Jukkas prev/next patch with XK_{h,l}
This commit is contained in:
parent
7b5638f61d
commit
1b63f832c5
2
dwm.h
2
dwm.h
|
@ -143,6 +143,8 @@ extern void replacetag(Arg *arg);
|
||||||
extern void settags(Client *c);
|
extern void settags(Client *c);
|
||||||
extern void togglemode(Arg *arg);
|
extern void togglemode(Arg *arg);
|
||||||
extern void view(Arg *arg);
|
extern void view(Arg *arg);
|
||||||
|
extern void viewnext(Arg *arg);
|
||||||
|
extern void viewprev(Arg *arg);
|
||||||
|
|
||||||
/* util.c */
|
/* util.c */
|
||||||
extern void *emallocz(unsigned int size);
|
extern void *emallocz(unsigned int size);
|
||||||
|
|
2
event.c
2
event.c
|
@ -32,8 +32,10 @@ static Key key[] = {
|
||||||
{ MODKEY, XK_2, view, { .i = Tnet } },
|
{ MODKEY, XK_2, view, { .i = Tnet } },
|
||||||
{ MODKEY, XK_3, view, { .i = Twork } },
|
{ MODKEY, XK_3, view, { .i = Twork } },
|
||||||
{ MODKEY, XK_4, view, { .i = Tmisc} },
|
{ MODKEY, XK_4, view, { .i = Tmisc} },
|
||||||
|
{ MODKEY, XK_h, viewprev, { 0 } },
|
||||||
{ MODKEY, XK_j, focusnext, { 0 } },
|
{ MODKEY, XK_j, focusnext, { 0 } },
|
||||||
{ MODKEY, XK_k, focusprev, { 0 } },
|
{ MODKEY, XK_k, focusprev, { 0 } },
|
||||||
|
{ MODKEY, XK_l, viewnext, { 0 } },
|
||||||
{ MODKEY, XK_m, togglemax, { 0 } },
|
{ MODKEY, XK_m, togglemax, { 0 } },
|
||||||
{ MODKEY, XK_space, togglemode, { 0 } },
|
{ MODKEY, XK_space, togglemode, { 0 } },
|
||||||
{ MODKEY, XK_Return, zoom, { 0 } },
|
{ MODKEY, XK_Return, zoom, { 0 } },
|
||||||
|
|
Loading…
Reference in New Issue