summaryrefslogtreecommitdiff
path: root/src/managers/LayoutManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/managers/LayoutManager.cpp')
-rw-r--r--src/managers/LayoutManager.cpp11
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