change some colors and styling, fix a issue with activeAsync in notifications Window
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user