aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/config
diff options
context:
space:
mode:
authorend-4 <[email protected]>2024-04-04 22:41:09 +0700
committerGitHub <[email protected]>2024-04-04 16:41:09 +0100
commit9b8ef9206d9687fd2280cff5c0e6d5fe6abb395a (patch)
treebbdf730ae624514fef8d7c4479afd0c22dc06709 /src/config
parent846162cce16b78a3d5c23225a7d5733e52a24ec0 (diff)
downloadHyprland-9b8ef9206d9687fd2280cff5c0e6d5fe6abb395a.tar.gz
Hyprland-9b8ef9206d9687fd2280cff5c0e6d5fe6abb395a.zip
layers: separate anim configs for open/close (#5421)
Diffstat (limited to 'src/config')
-rw-r--r--src/config/ConfigManager.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp
index 87bb5bbd..edbfa2b3 100644
--- a/src/config/ConfigManager.cpp
+++ b/src/config/ConfigManager.cpp
@@ -646,6 +646,10 @@ void CConfigManager::setDefaultAnimationVars() {
INITANIMCFG("windowsOut");
INITANIMCFG("windowsMove");
+ // layers
+ INITANIMCFG("layersIn");
+ INITANIMCFG("layersOut");
+
// fade
INITANIMCFG("fadeIn");
INITANIMCFG("fadeOut");
@@ -669,6 +673,9 @@ void CConfigManager::setDefaultAnimationVars() {
CREATEANIMCFG("borderangle", "global");
CREATEANIMCFG("workspaces", "global");
+ CREATEANIMCFG("layersIn", "layers");
+ CREATEANIMCFG("layersOut", "layers");
+
CREATEANIMCFG("windowsIn", "windows");
CREATEANIMCFG("windowsOut", "windows");
CREATEANIMCFG("windowsMove", "windows");
@@ -679,6 +686,8 @@ void CConfigManager::setDefaultAnimationVars() {
CREATEANIMCFG("fadeShadow", "fade");
CREATEANIMCFG("fadeDim", "fade");
CREATEANIMCFG("fadeLayers", "fade");
+ CREATEANIMCFG("fadeLayersIn", "fadeLayers");
+ CREATEANIMCFG("fadeLayersOut", "fadeLayers");
CREATEANIMCFG("specialWorkspace", "workspaces");
}