diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-19 15:59:53 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-19 15:59:53 +0100 |
| commit | 61e10e20484e8867656d39cbaa6d75c3aab7eba6 (patch) | |
| tree | c57b575aff261990764929ad855176228791aa26 /src/managers/LayoutManager.cpp | |
| parent | e664b0b6920571b864776319dd32153e104e748d (diff) | |
added a layoutmanager and basic dwindle
Diffstat (limited to 'src/managers/LayoutManager.cpp')
| -rw-r--r-- | src/managers/LayoutManager.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/managers/LayoutManager.cpp b/src/managers/LayoutManager.cpp new file mode 100644 index 00000000..ec723350 --- /dev/null +++ b/src/managers/LayoutManager.cpp @@ -0,0 +1,11 @@ +#include "LayoutManager.hpp" + +IHyprLayout* CLayoutManager::getCurrentLayout() { + switch (m_iCurrentLayoutID) { + case DWINDLE: + return &m_cDwindleLayout; + } + + // fallback + return &m_cDwindleLayout; +}
\ No newline at end of file |
