From 4130aa7d273a69ae37b2ad44e94fa43681c3a4ab Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Thu, 22 May 2025 16:09:26 +0200 Subject: [PATCH] fix notif disappearing too fast --- .../modules/common/widgets/NotificationWidget.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.config/quickshell/modules/common/widgets/NotificationWidget.qml b/.config/quickshell/modules/common/widgets/NotificationWidget.qml index 4bc889855..5a1cb0f51 100644 --- a/.config/quickshell/modules/common/widgets/NotificationWidget.qml +++ b/.config/quickshell/modules/common/widgets/NotificationWidget.qml @@ -66,15 +66,15 @@ Item { notificationBackground.anchors.left = undefined notificationBackground.anchors.right = undefined notificationBackground.anchors.fill = undefined - notificationRowWrapper.x = width + 5 * 2 // Account for shadow - notificationBackground.x = width + 5 * 2 // Account for shadow + notificationRowWrapper.x = width + (Appearance.sizes.hyprlandGapsOut + Appearance.sizes.elevationMargin) * 2 // Account for shadow + notificationBackground.x = width + (Appearance.sizes.hyprlandGapsOut + Appearance.sizes.elevationMargin) * 2 // Account for shadow destroyTimer1.start() } } Timer { id: destroyTimer1 - interval: Appearance.animation.elementMoveFast.duration + interval: notificationXAnimation.duration repeat: false onTriggered: { notificationRowWrapper.anchors.top = undefined