1
0
mirror of https://github.com/tiyn/dwm.git synced 2025-04-19 15:57:45 +02:00

monitor keys added

This commit is contained in:
TiynGER 2020-03-30 17:13:55 +02:00
parent c98f008b1e
commit eb0271878b
2 changed files with 10 additions and 6 deletions

View File

@ -36,8 +36,12 @@ Super + Shift + t -> Enable tiling layout
Super + Shift + z -> (Tiling) Decrease master window size
Super + 0 -> Show all tags
Super + Shift + 0 -> Add current window to all tag
Super + + 1/2/.../9 -> Shot tag 1/2/.../9
Super + Shift + 1/2/.../9 -> Add current window to tag 1/2/.../9
Super + + 1/2/.../9 -> Show tag 1/2/.../9
Super + Shift + 1/2/.../9 -> Add current window to tag 1/2/.../9
Super + + . -> Show monitor lower in stack
Super + Shift + . -> Add to monitor lower in stack
Super + + , -> Show monitor higher in stack
Super + Shift + , -> Add to monitor higher in stack
Super + F5 -> enable 2 Screen Monitor
Super + F6 -> toggle touchpad
Super + F7 -> (dmenu) mounting drives

View File

@ -98,6 +98,10 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_z, setmfact, {.f = -0.05} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
{ MODKEY, XK_comma, focusmon, {.i = -1 } },
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
{ MODKEY, XK_F5, spawn, SHCMD("togglemonitor") },
{ MODKEY, XK_F6, spawn, SHCMD("toggletouchpad") },
{ MODKEY, XK_F7, spawn, SHCMD("dmenumount") },
@ -115,10 +119,6 @@ static Key keys[] = {
//{ MODKEY|ShiftMask, XK_o, incnmaster, {.i = +1 } },
//{ MODKEY|ShiftMask, XK_z, incnmaster, {.i = -1 } },
//{ MODKEY, XK_space, setlayout, {0} },
//{ MODKEY, XK_comma, focusmon, {.i = -1 } },
//{ MODKEY, XK_period, focusmon, {.i = +1 } },
//{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
//{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)