added a layoutmanager and basic dwindle
This commit is contained in:
parent
e664b0b692
commit
61e10e2048
12 changed files with 308 additions and 16 deletions
11
src/managers/LayoutManager.cpp
Normal file
11
src/managers/LayoutManager.cpp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#include "LayoutManager.hpp"
|
||||
|
||||
IHyprLayout* CLayoutManager::getCurrentLayout() {
|
||||
switch (m_iCurrentLayoutID) {
|
||||
case DWINDLE:
|
||||
return &m_cDwindleLayout;
|
||||
}
|
||||
|
||||
// fallback
|
||||
return &m_cDwindleLayout;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue