summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.cpp
diff options
context:
space:
mode:
authorMaarten van Gompel <proycon@anaproy.nl>2022-12-10 22:59:16 +0100
committerGitHub <noreply@github.com>2022-12-10 21:59:16 +0000
commit6381b6474fb6973bfe83526e21bcee08e5e45ecc (patch)
treee43a0f87823fceaf7e459699798c7fe9c3dc0547 /src/config/ConfigManager.cpp
parentc3f1dc3f526a7f94c37d72f8314bc4bce969f0d8 (diff)
Implement orientation (placement of master area) for master layout (#1202)
* Implemented choosing placement of master area (#1059) This implement a per workspace 'orientation' that can be set to left, right, top or bottom. Reflecting placement of the master area. Left (default) and right are horizontal layouts, top and bottom produce vertical layouts. Orientation can be switched with: 'hyprctl dispatch layoutmsg orientationleft'
Diffstat (limited to 'src/config/ConfigManager.cpp')
-rw-r--r--src/config/ConfigManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index 89152acc..21659cf2 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -109,6 +109,7 @@ void CConfigManager::setDefaultVars() {
configValues["master:new_is_master"].intValue = 1;
configValues["master:new_on_top"].intValue = 0;
configValues["master:no_gaps_when_only"].intValue = 0;
+ configValues["master:orientation"].strValue = "left";
configValues["animations:enabled"].intValue = 1;
configValues["animations:speed"].floatValue = 7.f;