mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-24 02:01:18 +07:00
Adjust the workspace shadow defaults some more
This commit is contained in:
@@ -776,9 +776,9 @@ impl Default for WorkspaceShadow {
|
|||||||
x: FloatOrInt(0.),
|
x: FloatOrInt(0.),
|
||||||
y: FloatOrInt(10.),
|
y: FloatOrInt(10.),
|
||||||
},
|
},
|
||||||
softness: FloatOrInt(80.),
|
softness: FloatOrInt(40.),
|
||||||
spread: FloatOrInt(10.),
|
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(
|
softness: FloatOrInt(
|
||||||
80.0,
|
40.0,
|
||||||
),
|
),
|
||||||
spread: FloatOrInt(
|
spread: FloatOrInt(
|
||||||
10.0,
|
10.0,
|
||||||
@@ -4677,7 +4677,7 @@ mod tests {
|
|||||||
r: 0.0,
|
r: 0.0,
|
||||||
g: 0.0,
|
g: 0.0,
|
||||||
b: 0.0,
|
b: 0.0,
|
||||||
a: 0.4392157,
|
a: 0.3137255,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -29,10 +29,10 @@ overview {
|
|||||||
|
|
||||||
workspace-shadow {
|
workspace-shadow {
|
||||||
// off
|
// off
|
||||||
softness 80
|
softness 40
|
||||||
spread 10
|
spread 10
|
||||||
offset x=0 y=10
|
offset x=0 y=10
|
||||||
color "#00000070"
|
color "#00000050"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user