Revert "Remove qt5-compat"

This commit is contained in:
Lysec 2025-08-03 12:59:13 +02:00 committed by GitHub
parent 615dfa6621
commit 7fe8005cbe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 64 additions and 68 deletions

View file

@ -2,7 +2,7 @@ import QtQuick
import QtQuick.Layouts
import QtQuick.Controls
import QtQuick.Effects
import QtQuick.Effects
import Qt5Compat.GraphicalEffects
import Quickshell.Wayland
import Quickshell
import Quickshell.Services.Pam
@ -146,7 +146,6 @@ WlSessionLock {
blurEnabled: true
blur: 0.48 // controls blur strength (0 to 1)
blurMax: 128 // max blur radius in pixels
// transparentBorder: true
}
ColumnLayout {
@ -170,9 +169,8 @@ WlSessionLock {
visible: false
asynchronous: true
}
MultiEffect {
OpacityMask {
anchors.fill: avatarImage
maskEnabled: true
source: avatarImage
maskSource: Rectangle {
width: avatarImage.width
@ -191,11 +189,10 @@ WlSessionLock {
visible: Settings.settings.profileImage === ""
}
layer.enabled: true
layer.effect: MultiEffect {
shadowEnabled: true
shadowColor: Theme.accentPrimary
// radius: 8
// samples: 16
layer.effect: Glow {
color: Theme.accentPrimary
radius: 8
samples: 16
}
}