diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-30 12:46:17 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-30 12:46:17 +0200 |
| commit | 48eb2e0d6fd756ec181b722c526f13453fa9c123 (patch) | |
| tree | 67158a41ff97f28909adaa37e71d34865c817ed4 /src/config/ConfigManager.cpp | |
| parent | 179562b646851c06ee79fa4a5e2e7386885cee0e (diff) | |
Added window dimming
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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"); } |
