From 48eb2e0d6fd756ec181b722c526f13453fa9c123 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Tue, 30 Aug 2022 12:46:17 +0200 Subject: Added window dimming --- src/config/ConfigManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/config/ConfigManager.cpp') diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index eb9c2032..728df7c9 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -83,6 +83,8 @@ void CConfigManager::setDefaultVars() { configValues["decoration:shadow_offset"].strValue = "0 0"; configValues["decoration:col.shadow"].intValue = 0xee1a1a1a; configValues["decoration:col.shadow_inactive"].intValue = INT_MAX; + configValues["decoration:dim_inactive"].intValue = 0; + configValues["decoration:dim_strength"].floatValue = 0.5f; configValues["dwindle:pseudotile"].intValue = 0; configValues["dwindle:col.group_border"].intValue = 0x66777700; @@ -195,6 +197,7 @@ void CConfigManager::setDefaultAnimationVars() { INITANIMCFG("fadeOut"); INITANIMCFG("fadeSwitch"); INITANIMCFG("fadeShadow"); + INITANIMCFG("fadeDim"); // border @@ -226,6 +229,7 @@ void CConfigManager::setDefaultAnimationVars() { CREATEANIMCFG("fadeOut", "fade"); CREATEANIMCFG("fadeSwitch", "fade"); CREATEANIMCFG("fadeShadow", "fade"); + CREATEANIMCFG("fadeDim", "fade"); CREATEANIMCFG("specialWorkspace", "workspaces"); } -- cgit v1.2.3