diff --git a/config.h b/config.h index ef5dd67..ff55204 100644 --- a/config.h +++ b/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 */ #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 diff --git a/layouts/layouts.h b/layouts/layouts.h index 9f30d4f..33aa977 100644 --- a/layouts/layouts.h +++ b/layouts/layouts.h @@ -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