mirror of git://git.suckless.org/dwm
changed shortcut into Mod1-0
This commit is contained in:
parent
daae3bba50
commit
bab575c868
|
@ -44,11 +44,11 @@ static Key key[] = { \
|
||||||
{ MODKEY|ControlMask|ShiftMask, XK_4, toggletag, { .i = 3 } }, \
|
{ MODKEY|ControlMask|ShiftMask, XK_4, toggletag, { .i = 3 } }, \
|
||||||
{ MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \
|
{ MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \
|
||||||
{ MODKEY, XK_space, togglemode, { 0 } }, \
|
{ MODKEY, XK_space, togglemode, { 0 } }, \
|
||||||
|
{ MODKEY, XK_0, viewall, { 0 } }, \
|
||||||
{ MODKEY, XK_1, view, { .i = 0 } }, \
|
{ MODKEY, XK_1, view, { .i = 0 } }, \
|
||||||
{ MODKEY, XK_2, view, { .i = 1 } }, \
|
{ MODKEY, XK_2, view, { .i = 1 } }, \
|
||||||
{ MODKEY, XK_3, view, { .i = 2 } }, \
|
{ MODKEY, XK_3, view, { .i = 2 } }, \
|
||||||
{ MODKEY, XK_4, view, { .i = 3 } }, \
|
{ MODKEY, XK_4, view, { .i = 3 } }, \
|
||||||
{ MODKEY, XK_a, viewall, { 0 } }, \
|
|
||||||
{ MODKEY|ControlMask, XK_1, toggleview, { .i = 0 } }, \
|
{ MODKEY|ControlMask, XK_1, toggleview, { .i = 0 } }, \
|
||||||
{ MODKEY|ControlMask, XK_2, toggleview, { .i = 1 } }, \
|
{ MODKEY|ControlMask, XK_2, toggleview, { .i = 1 } }, \
|
||||||
{ MODKEY|ControlMask, XK_3, toggleview, { .i = 2 } }, \
|
{ MODKEY|ControlMask, XK_3, toggleview, { .i = 2 } }, \
|
||||||
|
|
|
@ -41,12 +41,12 @@ static Key key[] = { \
|
||||||
{ MODKEY|ControlMask|ShiftMask, XK_5, toggletag, { .i = 4 } }, \
|
{ MODKEY|ControlMask|ShiftMask, XK_5, toggletag, { .i = 4 } }, \
|
||||||
{ MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \
|
{ MODKEY|ShiftMask, XK_c, killclient, { 0 } }, \
|
||||||
{ MODKEY, XK_space, togglemode, { 0 } }, \
|
{ MODKEY, XK_space, togglemode, { 0 } }, \
|
||||||
|
{ MODKEY, XK_0, viewall, { 0 } }, \
|
||||||
{ MODKEY, XK_1, view, { .i = 0 } }, \
|
{ MODKEY, XK_1, view, { .i = 0 } }, \
|
||||||
{ MODKEY, XK_2, view, { .i = 1 } }, \
|
{ MODKEY, XK_2, view, { .i = 1 } }, \
|
||||||
{ MODKEY, XK_3, view, { .i = 2 } }, \
|
{ MODKEY, XK_3, view, { .i = 2 } }, \
|
||||||
{ MODKEY, XK_4, view, { .i = 3 } }, \
|
{ MODKEY, XK_4, view, { .i = 3 } }, \
|
||||||
{ MODKEY, XK_5, view, { .i = 4 } }, \
|
{ MODKEY, XK_5, view, { .i = 4 } }, \
|
||||||
{ MODKEY, XK_a, viewall, { 0 } }, \
|
|
||||||
{ MODKEY|ControlMask, XK_1, toggleview, { .i = 0 } }, \
|
{ MODKEY|ControlMask, XK_1, toggleview, { .i = 0 } }, \
|
||||||
{ MODKEY|ControlMask, XK_2, toggleview, { .i = 1 } }, \
|
{ MODKEY|ControlMask, XK_2, toggleview, { .i = 1 } }, \
|
||||||
{ MODKEY|ControlMask, XK_3, toggleview, { .i = 2 } }, \
|
{ MODKEY|ControlMask, XK_3, toggleview, { .i = 2 } }, \
|
||||||
|
|
10
dwm.1
10
dwm.1
|
@ -84,13 +84,13 @@ mode only).
|
||||||
Maximize current
|
Maximize current
|
||||||
.BR window .
|
.BR window .
|
||||||
.TP
|
.TP
|
||||||
.B Mod1-Shift-[0..n]
|
.B Mod1-Shift-[1..n]
|
||||||
Apply
|
Apply
|
||||||
.B nth tag
|
.B nth tag
|
||||||
to current
|
to current
|
||||||
.BR window .
|
.BR window .
|
||||||
.TP
|
.TP
|
||||||
.B Mod1-Control-Shift-[0..n]
|
.B Mod1-Control-Shift-[1..n]
|
||||||
Add/remove
|
Add/remove
|
||||||
.B nth tag
|
.B nth tag
|
||||||
to/from current
|
to/from current
|
||||||
|
@ -108,15 +108,15 @@ and
|
||||||
mode (affects
|
mode (affects
|
||||||
.BR "all windows" ).
|
.BR "all windows" ).
|
||||||
.TP
|
.TP
|
||||||
.B Mod1-[0..n]
|
.B Mod1-[1..n]
|
||||||
View all windows with
|
View all windows with
|
||||||
.BR "tag n" .
|
.BR "tag n" .
|
||||||
.TP
|
.TP
|
||||||
.B Mod1-a
|
.B Mod1-0
|
||||||
View all windows with any
|
View all windows with any
|
||||||
.BR "tag" .
|
.BR "tag" .
|
||||||
.TP
|
.TP
|
||||||
.B Mod1-Control-[0..n]
|
.B Mod1-Control-[1..n]
|
||||||
Add/remove all windows with
|
Add/remove all windows with
|
||||||
.B tag n
|
.B tag n
|
||||||
to/from the view.
|
to/from the view.
|
||||||
|
|
Loading…
Reference in New Issue