Improve the code 🤓🤓
This commit is contained in:
parent
3ec665c593
commit
1c9c338b36
2 changed files with 11 additions and 9 deletions
9
config.h
9
config.h
|
@ -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 */
|
static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */
|
||||||
|
|
||||||
#include "layouts/layouts.h"
|
#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 */
|
/* key definitions */
|
||||||
#define MODKEY Mod4Mask // win/super key
|
#define MODKEY Mod4Mask // win/super key
|
||||||
|
|
|
@ -7,4 +7,15 @@
|
||||||
#include "grid.c"
|
#include "grid.c"
|
||||||
#include "fibonacci.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
|
#endif // !layouts.h
|
||||||
|
|
Loading…
Reference in a new issue