aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/config
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2024-08-21 14:37:50 +0200
committervaxerski <[email protected]>2024-08-21 14:38:07 +0200
commit883463f9dd7f1cdc68c3e32017c0a71ccbe39b26 (patch)
tree8f1d430512b73309841146830c2d31d99d108ad7 /src/config
parent3e7325af57c4670ebea65d2669f49526819c2260 (diff)
downloadHyprland-883463f9dd7f1cdc68c3e32017c0a71ccbe39b26.tar.gz
Hyprland-883463f9dd7f1cdc68c3e32017c0a71ccbe39b26.zip
animations: add workspace in/out configs
Diffstat (limited to 'src/config')
-rw-r--r--src/config/ConfigManager.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index 155b75d3..e2ae2c47 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -724,7 +724,6 @@ void CConfigManager::setDefaultAnimationVars() {
INITANIMCFG("fade");
INITANIMCFG("border");
INITANIMCFG("borderangle");
- INITANIMCFG("workspaces");
// windows
INITANIMCFG("windowsIn");
@@ -745,7 +744,12 @@ void CConfigManager::setDefaultAnimationVars() {
// border
// workspaces
+ INITANIMCFG("workspaces");
+ INITANIMCFG("workspacesIn");
+ INITANIMCFG("workspacesOut");
INITANIMCFG("specialWorkspace");
+ INITANIMCFG("specialWorkspaceIn");
+ INITANIMCFG("specialWorkspaceOut");
}
// init the values
@@ -774,7 +778,11 @@ void CConfigManager::setDefaultAnimationVars() {
CREATEANIMCFG("fadeLayersIn", "fadeLayers");
CREATEANIMCFG("fadeLayersOut", "fadeLayers");
+ CREATEANIMCFG("workspacesIn", "workspaces");
+ CREATEANIMCFG("workspacesOut", "workspaces");
CREATEANIMCFG("specialWorkspace", "workspaces");
+ CREATEANIMCFG("specialWorkspaceIn", "specialWorkspace");
+ CREATEANIMCFG("specialWorkspaceOut", "specialWorkspace");
}
std::optional<std::string> CConfigManager::resetHLConfig() {