diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-09-18 19:22:53 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-09-20 15:08:15 +0300 |
| commit | 6451d6be4f7046bd3d02bbe22dc50bb7b94235a5 (patch) | |
| tree | a80c2d11f2fca53f8110611a3a3e22d6d8604471 | |
| parent | 00a4e225660b845cc9826286421f0ca4c1519e63 (diff) | |
| download | niri-6451d6be4f7046bd3d02bbe22dc50bb7b94235a5.tar.gz niri-6451d6be4f7046bd3d02bbe22dc50bb7b94235a5.tar.bz2 niri-6451d6be4f7046bd3d02bbe22dc50bb7b94235a5.zip | |
config: Fix discrepancy in default shadow color
| -rw-r--r-- | niri-config/src/appearance.rs | 2 | ||||
| -rw-r--r-- | niri-config/src/lib.rs | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/niri-config/src/appearance.rs b/niri-config/src/appearance.rs index 815da78b..e5efc4be 100644 --- a/niri-config/src/appearance.rs +++ b/niri-config/src/appearance.rs @@ -350,7 +350,7 @@ impl Default for Shadow { softness: FloatOrInt(30.), spread: FloatOrInt(5.), draw_behind_window: false, - color: Color::from_rgba8_unpremul(0, 0, 0, 0x70), + color: Color::from_rgba8_unpremul(0, 0, 0, 0x77), inactive_color: None, } } diff --git a/niri-config/src/lib.rs b/niri-config/src/lib.rs index 95ebc3cd..fbbe8aba 100644 --- a/niri-config/src/lib.rs +++ b/niri-config/src/lib.rs @@ -872,7 +872,7 @@ mod tests { r: 0.0, g: 0.0, b: 0.0, - a: 0.4392157, + a: 0.46666667, }, inactive_color: None, }, @@ -1844,9 +1844,6 @@ mod tests { + }, + ], - - a: 0.4392157, - + a: 0.46666667, - - preset_column_widths: [], - default_column_width: None, + preset_column_widths: [ |
