forked from Shinonome/dots-hyprland
add StyledBlurEffect
This commit is contained in:
@@ -0,0 +1,12 @@
|
|||||||
|
import QtQuick
|
||||||
|
import QtQuick.Effects
|
||||||
|
|
||||||
|
MultiEffect {
|
||||||
|
id: root
|
||||||
|
source: wallpaper
|
||||||
|
anchors.fill: source
|
||||||
|
saturation: 0.2
|
||||||
|
blurEnabled: true
|
||||||
|
blurMax: 100
|
||||||
|
blur: 1
|
||||||
|
}
|
||||||
@@ -131,12 +131,8 @@ Item { // Player instance
|
|||||||
asynchronous: true
|
asynchronous: true
|
||||||
|
|
||||||
layer.enabled: true
|
layer.enabled: true
|
||||||
layer.effect: MultiEffect {
|
layer.effect: StyledBlurEffect {
|
||||||
source: blurredArt
|
source: blurredArt
|
||||||
saturation: 0.2
|
|
||||||
blurEnabled: true
|
|
||||||
blurMax: 100
|
|
||||||
blur: 1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
|||||||
Reference in New Issue
Block a user