From 35f98c0588c1164fdeaddff348246fb5408a89fd Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Wed, 22 May 2024 21:33:44 +0530 Subject: Update indenting and add commands for fine tuning gaps --- config.h | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index fb514c7..f40f704 100644 --- a/config.h +++ b/config.h @@ -49,15 +49,16 @@ static const Rule rules[] = { * WM_NAME(STRING) = title */ /* class instance title tags mask isfloating monitor */ - { "Gimp", NULL, NULL, 0, 1, -1 }, - { "Onboard", NULL, NULL, 0, 1, -1 }, - { "qutebrowser", NULL, NULL, GTMask(2), 0, -1 }, - { "firefox", NULL, NULL, GTMask(2), 0, -1 }, - { "Chromium", NULL, NULL, GTMask(2), 0, -1 }, - { "media-term", NULL, NULL, GTMask(3), 0, -1 }, - { "Spotify", NULL, NULL, GTMask(3), 0, -1 }, - { "Zathura", NULL, NULL, GTMask(4), 0, -1 }, - { "Com.github.xournalpp.xournalpp", NULL, NULL, GTMask(5), 0, -1 }, + { "Gimp", 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 }, + { "firefox", NULL, NULL, GTMask(2), 0, -1 }, + { "Chromium", NULL, NULL, GTMask(2), 0, -1 }, + { "media-term", NULL, NULL, GTMask(3), 0, -1 }, + { "Spotify", NULL, NULL, GTMask(3), 0, -1 }, + { "Zathura", NULL, NULL, GTMask(4), 0, -1 }, + { "Com.github.xournalpp.xournalpp", NULL, NULL, GTMask(5), 0, -1 }, }; /* layout(s) */ @@ -106,8 +107,10 @@ static const Key keys[] = { { MODKEY, XK_grave, togglescratch, {.v = scratchpadcmd } }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, - { MODKEY, XK_period, setgaps, {.i = +1} }, - { MODKEY, XK_comma, setgaps, {.i = -1} }, + { MODKEY, XK_period, setgaps, {.i = +5} }, + { 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|ShiftMask, XK_slash, printgaps, {0} }, { MODKEY, XK_h, setmfact, {.f = -0.01} }, -- cgit v1.2.3-13-gbd6f