dwm: Remove unused layouts / keybinds

This commit is contained in:
Donovan Glover 2024-08-22 20:50:30 -04:00
parent 712d5b141a
commit 3c22106938
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -153,8 +153,6 @@ in
static const Layout layouts[] = { static const Layout layouts[] = {
{ "[]=", tile }, { "[]=", tile },
{ "><>", NULL },
{ "[M]", monocle },
}; };
#define MODKEY Mod4Mask #define MODKEY Mod4Mask
@ -183,8 +181,6 @@ in
{ MODKEY, XK_k, focusstack, {.i = -1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} },
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
{ MODKEY, XK_4, view, {.ui = ~0 } }, { MODKEY, XK_4, view, {.ui = ~0 } },
{ MODKEY, XK_Return, zoom, {0} }, { MODKEY, XK_Return, zoom, {0} },
{ MODKEY, XK_comma, focusmon, {.i = -1 } }, { MODKEY, XK_comma, focusmon, {.i = -1 } },
@ -200,19 +196,10 @@ in
{ MODKEY|ShiftMask, XK_q, quit, {0} }, { MODKEY|ShiftMask, XK_q, quit, {0} },
}; };
/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
static const Button buttons[] = { static const Button buttons[] = {
/* click event mask button function argument */ { ClkClientWin, MODKEY, Button1, movemouse, {0} },
{ ClkLtSymbol, 0, Button1, setlayout, {0} }, { ClkClientWin, MODKEY, Button2, togglefloating, {0} },
{ ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, { ClkClientWin, MODKEY, Button3, resizemouse, {0} },
{ ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
{ ClkClientWin, MODKEY, Button2, togglefloating, {0} },
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} },
{ ClkTagBar, 0, Button1, view, {0} },
{ ClkTagBar, 0, Button3, toggleview, {0} },
{ ClkTagBar, MODKEY, Button1, tag, {0} },
{ ClkTagBar, MODKEY, Button3, toggletag, {0} },
}; };
''; '';