Improve the code 🤓🤓

This commit is contained in:
Anas Elgarhy 2022-07-10 21:00:35 +02:00
parent 3ec665c593
commit 1c9c338b36
2 changed files with 11 additions and 9 deletions

View File

@ -61,15 +61,6 @@ static const int resizehints = 1; /* 1 means respect size hints in tiled resi
static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
#include "layouts/layouts.h"
static const Layout layouts[] = {
/* symbol arrange function */
{ "[]=", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
{ "HHH", grid },
{ "[@]", spiral },
{ "[\\]", dwindle },
};
/* key definitions */
#define MODKEY Mod4Mask // win/super key

View File

@ -7,4 +7,15 @@
#include "grid.c"
#include "fibonacci.c"
// Layouts array
static const Layout layouts[] = {
/* symbol arrange function */
{ "[]=", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
{ "HHH", grid },
{ "[@]", spiral },
{ "[\\]", dwindle },
};
#endif // !layouts.h