diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-05-01 10:53:35 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-05-01 11:04:47 +0300 |
| commit | f2c690802b0de649e3118403b859208519de425f (patch) | |
| tree | 95a8caf384b0194519bd828bca3d79f0222b3384 | |
| parent | 9d6037b94c72deb0f5d928d3f68acc287d8baed2 (diff) | |
| download | niri-f2c690802b0de649e3118403b859208519de425f.tar.gz niri-f2c690802b0de649e3118403b859208519de425f.tar.bz2 niri-f2c690802b0de649e3118403b859208519de425f.zip | |
Adjust the workspace shadow defaults some more
| -rw-r--r-- | niri-config/src/lib.rs | 8 | ||||
| -rw-r--r-- | 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" } } |
