aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-05-22 21:33:44 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-05-22 21:33:44 +0530
commit35f98c0588c1164fdeaddff348246fb5408a89fd (patch)
tree330d44323fa4fea4deb5c54ada116f2f8da1192a /config.h
parent96be12b185d8ecc294b02afa1622521968f37c16 (diff)
downloaddwm-35f98c0588c1164fdeaddff348246fb5408a89fd.tar.gz
dwm-35f98c0588c1164fdeaddff348246fb5408a89fd.tar.bz2
dwm-35f98c0588c1164fdeaddff348246fb5408a89fd.zip
Update indenting and add commands for fine tuning gaps
Diffstat (limited to 'config.h')
-rw-r--r--config.h25
1 files changed, 14 insertions, 11 deletions
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} },