mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-19 04:08:48 +00:00
add StyledBlurEffect
This commit is contained in:
parent
2de21b5f25
commit
f21dd041ae
2 changed files with 13 additions and 5 deletions
12
.config/quickshell/ii/modules/common/StyledBlurEffect.qml
Normal file
12
.config/quickshell/ii/modules/common/StyledBlurEffect.qml
Normal file
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue