bar: ws indicator mask -> colouriser
This commit is contained in:
parent
8b80213b2e
commit
4709d65249
1 changed files with 3 additions and 14 deletions
|
|
@ -48,20 +48,9 @@ StyledRect {
|
||||||
radius: Config.bar.workspaces.rounded ? Appearance.rounding.full : 0
|
radius: Config.bar.workspaces.rounded ? Appearance.rounding.full : 0
|
||||||
color: Colours.palette.m3primary
|
color: Colours.palette.m3primary
|
||||||
|
|
||||||
StyledRect {
|
Colouriser {
|
||||||
id: base
|
source: root.mask
|
||||||
|
colorizationColor: Colours.palette.m3onPrimary
|
||||||
visible: false
|
|
||||||
anchors.fill: parent
|
|
||||||
color: Colours.palette.m3onPrimary
|
|
||||||
}
|
|
||||||
|
|
||||||
MultiEffect {
|
|
||||||
source: base
|
|
||||||
maskSource: root.mask
|
|
||||||
maskEnabled: true
|
|
||||||
maskSpreadAtMin: 1
|
|
||||||
maskThresholdMin: 0.5
|
|
||||||
|
|
||||||
x: 0
|
x: 0
|
||||||
y: -parent.offset
|
y: -parent.offset
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue