forked from Shinonome/dots-hyprland
lock: hide color overlay when unlocking in light mode
This commit is contained in:
@@ -168,7 +168,7 @@ Variants {
|
|||||||
// Wallpaper
|
// Wallpaper
|
||||||
Image {
|
Image {
|
||||||
id: wallpaper
|
id: wallpaper
|
||||||
visible: opacity > 0
|
visible: opacity > 0 && !blurLoader.active
|
||||||
opacity: (status === Image.Ready && !bgRoot.wallpaperIsVideo) ? 1 : 0
|
opacity: (status === Image.Ready && !bgRoot.wallpaperIsVideo) ? 1 : 0
|
||||||
Behavior on opacity {
|
Behavior on opacity {
|
||||||
animation: Appearance.animation.elementMoveEnter.numberAnimation.createObject(this)
|
animation: Appearance.animation.elementMoveEnter.numberAnimation.createObject(this)
|
||||||
@@ -244,6 +244,7 @@ Variants {
|
|||||||
samples: radius * 2 + 1
|
samples: radius * 2 + 1
|
||||||
|
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
opacity: GlobalStates.screenLocked ? 1 : 0
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
color: CF.ColorUtils.transparentize(Appearance.colors.colLayer0, 0.7)
|
color: CF.ColorUtils.transparentize(Appearance.colors.colLayer0, 0.7)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user