diff options
| -rw-r--r-- | modules/drawers/Drawers.qml | 7 | ||||
| -rw-r--r-- | widgets/LayerShadow.qml | 9 |
2 files changed, 6 insertions, 10 deletions
diff --git a/modules/drawers/Drawers.qml b/modules/drawers/Drawers.qml index 23520e1..9930c6d 100644 --- a/modules/drawers/Drawers.qml +++ b/modules/drawers/Drawers.qml @@ -8,6 +8,7 @@ import Quickshell import Quickshell.Wayland import Quickshell.Hyprland import QtQuick +import QtQuick.Effects Variants { model: Quickshell.screens @@ -100,8 +101,12 @@ Variants { } } - LayerShadow { + MultiEffect { + anchors.fill: source source: background + shadowEnabled: true + blurMax: 15 + shadowColor: Qt.alpha(Colours.palette.m3shadow, 0.7) } PersistentProperties { diff --git a/widgets/LayerShadow.qml b/widgets/LayerShadow.qml deleted file mode 100644 index b5f84c9..0000000 --- a/widgets/LayerShadow.qml +++ /dev/null @@ -1,9 +0,0 @@ -import "root:/services" -import Qt5Compat.GraphicalEffects - -DropShadow { - anchors.fill: source - color: Qt.alpha(Colours.palette.m3shadow, 0.7) - radius: 10 - samples: 1 + radius * 2 -} |