[dwm] Change monitor binds

This commit is contained in:
dogeystamp 2022-04-11 19:53:37 -04:00 committed by dogeystamp
parent e108ece70b
commit e637517726

View File

@ -94,7 +94,7 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = suspendcmd } },
{ MODKEY|ShiftMask, XK_b, spawn, {.v = browsercmd } },
{ MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd } },
{ MODKEY|ControlMask, XK_l, spawn, {.v = lockcmd } },
{ 0, XK_Print, spawn, SHCMD("~/.local/bin/s.sh") },
{ ShiftMask, XK_Print, spawn, SHCMD("~/.local/bin/ss.sh") },
{ 0, XF86XK_AudioStop, spawn, {.v = stopcmd } },
@ -109,8 +109,8 @@ static const Key keys[] = {
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
{ MODKEY, XK_d, incnmaster, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
{ MODKEY, XK_h, focusmon, {.i = +1 } },
{ MODKEY, XK_l, focusmon, {.i = -1 } },
{ MODKEY, XK_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
{ MODKEY|ShiftMask, XK_c, killclient, {0} },
@ -121,10 +121,10 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ 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_comma, setmfact, {.f = -0.05} },
{ MODKEY, XK_period, setmfact, {.f = +0.05} },
{ MODKEY|ShiftMask, XK_h, tagmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_l, tagmon, {.i = -1 } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)