mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-14 01:32:29 -04:00
layer effect instead
This commit is contained in:
@@ -15,7 +15,12 @@ Item {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
smooth: true
|
smooth: true
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
|
layer.enabled: true
|
||||||
|
layer.effect: MultiEffect {
|
||||||
|
colorization: 1
|
||||||
|
colorizationColor: root.color
|
||||||
|
brightness: 0.5
|
||||||
|
}
|
||||||
Process {
|
Process {
|
||||||
running: true
|
running: true
|
||||||
command: ["sh", "-c", ". /etc/os-release && echo $LOGO"]
|
command: ["sh", "-c", ". /etc/os-release && echo $LOGO"]
|
||||||
@@ -26,14 +31,4 @@ Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
MultiEffect {
|
|
||||||
source: iconImage
|
|
||||||
anchors.fill: iconImage
|
|
||||||
colorization: 1.0
|
|
||||||
colorizationColor: root.color
|
|
||||||
brightness: 0.5
|
|
||||||
saturation: 0.0
|
|
||||||
visible: iconImage.status === Image.Ready
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user