From f2c690802b0de649e3118403b859208519de425f Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 1 May 2025 10:53:35 +0300 Subject: Adjust the workspace shadow defaults some more --- niri-config/src/lib.rs | 8 ++++---- wiki/Configuration:-Miscellaneous.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs index d8c8f863..8a994efc 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -776,9 +776,9 @@ impl Default for WorkspaceShadow { x: FloatOrInt(0.), y: FloatOrInt(10.), }, - softness: FloatOrInt(80.), + softness: FloatOrInt(40.), spread: FloatOrInt(10.), - color: Color::from_rgba8_unpremul(0, 0, 0, 0x70), + color: Color::from_rgba8_unpremul(0, 0, 0, 0x50), } } } @@ -4668,7 +4668,7 @@ mod tests { ), }, softness: FloatOrInt( - 80.0, + 40.0, ), spread: FloatOrInt( 10.0, @@ -4677,7 +4677,7 @@ mod tests { r: 0.0, g: 0.0, b: 0.0, - a: 0.4392157, + a: 0.3137255, }, }, }, diff --git a/wiki/Configuration:-Miscellaneous.md b/wiki/Configuration:-Miscellaneous.md index ae44914e..9f10b5fa 100644 --- a/wiki/Configuration:-Miscellaneous.md +++ b/wiki/Configuration:-Miscellaneous.md @@ -29,10 +29,10 @@ overview { workspace-shadow { // off - softness 80 + softness 40 spread 10 offset x=0 y=10 - color "#00000070" + color "#00000050" } } -- cgit