change some colors and styling, fix a issue with activeAsync in notifications Window

This commit is contained in:
2025-10-12 21:57:14 -03:00
parent 5cdc0d3c1e
commit e4087938a5
4 changed files with 17 additions and 17 deletions

View File

@@ -8,7 +8,7 @@ import qs.Services
import qs.Widgets
import qs.Common.Styled
import qs.Common
import Quickshell.Wayland
import Quickshell.Wayland
PanelWindow {
id: notificationRoot
@@ -32,7 +32,8 @@ PanelWindow {
contentItem {
focus: true
Keys.onPressed: event => {
if (event.key == Qt.Key_Escape) notificationRoot.clear();
if (event.key == Qt.Key_Escape)
notificationRoot.clear();
}
}
MouseArea {
@@ -43,7 +44,7 @@ PanelWindow {
Rectangle {
id: notifWindow
anchors{
anchors {
top: parent.top
left: parent.left
}
@@ -68,7 +69,7 @@ PanelWindow {
anchors.fill: parent
onClicked: {
while (NotificationService.notificationsNumber != 0) {
NotificationService.notificationDismiss(NotificationService.trackedNotifications.get(0).notif)
NotificationService.notificationDismiss(NotificationService.trackedNotifications.get(0).notif);
}
}
}