Update indenting and add commands for fine tuning gaps

This commit is contained in:
2024-05-22 21:33:44 +05:30
parent 96be12b185
commit 35f98c0588

View File

@@ -50,7 +50,8 @@ static const Rule rules[] = {
*/ */
/* class instance title tags mask isfloating monitor */ /* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 0, 1, -1 }, { "Gimp", NULL, NULL, 0, 1, -1 },
{ "Onboard", NULL, NULL, 0, 1, -1 }, { "mpv", NULL, NULL, GTMask(3), 1, -1 },
{ "Onboard", NULL, NULL, 0, 0, -1 },
{ "qutebrowser", NULL, NULL, GTMask(2), 0, -1 }, { "qutebrowser", NULL, NULL, GTMask(2), 0, -1 },
{ "firefox", NULL, NULL, GTMask(2), 0, -1 }, { "firefox", NULL, NULL, GTMask(2), 0, -1 },
{ "Chromium", NULL, NULL, GTMask(2), 0, -1 }, { "Chromium", NULL, NULL, GTMask(2), 0, -1 },
@@ -106,8 +107,10 @@ static const Key keys[] = {
{ MODKEY, XK_grave, togglescratch, {.v = scratchpadcmd } }, { MODKEY, XK_grave, togglescratch, {.v = scratchpadcmd } },
{ MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_period, setgaps, {.i = +1} }, { MODKEY, XK_period, setgaps, {.i = +5} },
{ MODKEY, XK_comma, setgaps, {.i = -1} }, { MODKEY, XK_comma, setgaps, {.i = -5} },
{ MODKEY|ControlMask, XK_period, setgaps, {.i = +1} },
{ MODKEY|ControlMask, XK_comma, setgaps, {.i = -1} },
{ MODKEY, XK_slash, togglegaps, {0} }, { MODKEY, XK_slash, togglegaps, {0} },
{ MODKEY|ShiftMask, XK_slash, printgaps, {0} }, { MODKEY|ShiftMask, XK_slash, printgaps, {0} },
{ MODKEY, XK_h, setmfact, {.f = -0.01} }, { MODKEY, XK_h, setmfact, {.f = -0.01} },