diff --git a/Modules/Background/Background.qml b/Modules/Background/Background.qml index 551c2d3..5993f04 100644 --- a/Modules/Background/Background.qml +++ b/Modules/Background/Background.qml @@ -9,6 +9,7 @@ Variants { delegate: PanelWindow { required property ShellScreen modelData property string wallpaperSource: Qt.resolvedUrl("../../Assets/Tests/wallpaper.png") + //property string wallpaperSource: Qt.resolvedUrl("/home/lysec/Pictures/wallpapers/wallhaven-6lqvql.jpg") visible: wallpaperSource !== "" color: "transparent" diff --git a/Modules/Notification/Notification.qml b/Modules/Notification/Notification.qml index 9926689..83fdfa8 100644 --- a/Modules/Notification/Notification.qml +++ b/Modules/Notification/Notification.qml @@ -17,8 +17,8 @@ PanelWindow { visible: notificationService.notificationModel.count > 0 anchors.top: true anchors.right: true - margins.top: (Style.barHeight + 10) * scaling - margins.right: 10 * scaling + margins.top: (Style.barHeight + Style.marginMedium) * scaling + margins.right: Style.marginMedium * scaling implicitWidth: 360 * scaling implicitHeight: Math.min(notificationStack.implicitHeight, (notificationService.maxVisible * 120) * scaling) WlrLayershell.layer: WlrLayer.Overlay @@ -64,7 +64,7 @@ PanelWindow { clip: true color: Colors.backgroundSecondary radius: Style.radiusMedium * scaling - border.color: Colors.accentTertiary + border.color: Colors.accentPrimary border.width: Math.max(1, Style.borderThin * scaling) // Animation properties diff --git a/Services/NotificationService.qml b/Services/NotificationService.qml index 086fecf..74533bc 100644 --- a/Services/NotificationService.qml +++ b/Services/NotificationService.qml @@ -45,7 +45,7 @@ QtObject { // Auto-hide timer property Timer hideTimer: Timer { - interval: 5000 // 5 seconds + interval: 8000 // 8 seconds - longer display time repeat: true running: notificationModel.count > 0 @@ -54,9 +54,9 @@ QtObject { return } - // Always remove the oldest notification (last in the list) + // Remove the oldest notification (last in the list) let oldestNotification = notificationModel.get(notificationModel.count - 1).rawNotification - if (oldestNotification && !oldestNotification.transient) { + if (oldestNotification) { // Trigger animation signal instead of direct dismiss animateAndRemove(oldestNotification, notificationModel.count - 1) }