From 92a9e09643a88a38d373d08f0f514d2bb7285358 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 18 Apr 2024 11:09:36 +0100 Subject: Merged laptop version with remote Laptop had gapless grid --- config.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 34e597e..a27da91 100644 --- a/config.h +++ b/config.h @@ -54,7 +54,6 @@ static const Rule rules[] = { { "qutebrowser", NULL, NULL, GTMask(2), 0, -1 }, { "firefox", NULL, NULL, GTMask(2), 0, -1 }, { "Chromium", NULL, NULL, GTMask(2), 0, -1 }, - { "mpv", NULL, NULL, GTMask(3), 0, -1 }, { "media-term", NULL, NULL, GTMask(3), 0, -1 }, { "Spotify", NULL, NULL, GTMask(3), 0, -1 }, { "Zathura", NULL, NULL, GTMask(4), 0, -1 }, @@ -67,6 +66,7 @@ static const int nmaster = 1; /* number of clients in master area */ static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */ #include "./fibonacci.c" +#include "./gaplessgrid.c" static const Layout layouts[] = { /* symbol arrange function */ @@ -77,6 +77,7 @@ static const Layout layouts[] = { { ">M>", centeredfloatingmaster }, { "[@]", spiral }, { "[\\]", dwindle }, + { "###", gaplessgrid }, { "[D]", deck }, }; @@ -119,11 +120,12 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_t, setlayout, {.v = &layouts[0]} }, //tiling { MODKEY|ShiftMask, XK_f, setlayout, {.v = &layouts[1]} }, //floating { MODKEY|ShiftMask, XK_m, setlayout, {.v = &layouts[2]} }, //monocle - { MODKEY|ShiftMask, XK_n, setlayout, {.v = &layouts[3]} }, //cmonocle - { MODKEY|ShiftMask, XK_b, setlayout, {.v = &layouts[4]} }, //cfmonocle - { MODKEY|ShiftMask, XK_y, setlayout, {.v = &layouts[5]} }, //fib-spiral - { MODKEY|ShiftMask, XK_u, setlayout, {.v = &layouts[6]} }, //fib-spiral - { MODKEY|ShiftMask, XK_i, setlayout, {.v = &layouts[7]} }, //deck + { MODKEY|ShiftMask, XK_u, setlayout, {.v = &layouts[3]} }, //cmonocle + { MODKEY|ShiftMask, XK_o, setlayout, {.v = &layouts[4]} }, //cfmonocle + { MODKEY|ShiftMask, XK_s, setlayout, {.v = &layouts[5]} }, //fib-spiral + { MODKEY|ShiftMask, XK_d, setlayout, {.v = &layouts[6]} }, //fib-spiral + { MODKEY|ShiftMask, XK_g, setlayout, {.v = &layouts[7]} }, //gapless-grid + { MODKEY|ShiftMask, XK_i, setlayout, {.v = &layouts[8]} }, //deck { MODKEY|ShiftMask, XK_space, setlayout, {0} }, { MODKEY, XK_space, togglefloating, {0} }, { MODKEY, XK_m, focusmon, {.i = -1 } }, -- cgit v1.2.3-13-gbd6f