mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 21:42:51 -05:00
layer effect instead
This commit is contained in:
@@ -15,7 +15,12 @@ Item {
|
||||
anchors.fill: parent
|
||||
smooth: true
|
||||
asynchronous: true
|
||||
|
||||
layer.enabled: true
|
||||
layer.effect: MultiEffect {
|
||||
colorization: 1
|
||||
colorizationColor: root.color
|
||||
brightness: 0.5
|
||||
}
|
||||
Process {
|
||||
running: true
|
||||
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