mirror of
https://gitgud.io/wackyideas/aerothemeplasma.git
synced 2024-08-15 00:43:43 +00:00
31 lines
788 B
QML
31 lines
788 B
QML
/*
|
|
SPDX-FileCopyrightText: 2014 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
*/
|
|
|
|
import QtQuick 2.15
|
|
import QtGraphicalEffects 1.15
|
|
|
|
Item {
|
|
id: wallpaperFader
|
|
property alias source: wallpaperBlur.source
|
|
property real factor: 1
|
|
|
|
FastBlur { /* Forced by KDE for some reason to be able to show the background */
|
|
id: wallpaperBlur
|
|
anchors.fill: parent
|
|
radius: 0
|
|
}
|
|
ShaderEffect {
|
|
id: wallpaperShader
|
|
anchors.fill: parent
|
|
supportsAtlasTextures: true
|
|
property var source: ShaderEffectSource {
|
|
sourceItem: wallpaperBlur
|
|
live: true
|
|
hideSource: true
|
|
textureMirroring: ShaderEffectSource.NoMirroring
|
|
}
|
|
}
|
|
}
|