This commit is contained in:
2026-02-09 00:09:29 -08:00
parent add0b3d66f
commit 925b01939c
7 changed files with 270 additions and 125 deletions

View File

@@ -6,13 +6,6 @@ import Quickshell.Services.Notifications
ShellRoot {
id: root
NotificationServer {
id: notificationServer
onNotification: (notif) => {
notif.tracked = true
notifPopup.notify(notif)
}
}
readonly property var font: {
family: "comfortaa"
}
@@ -27,8 +20,18 @@ ShellRoot {
Osu.IpcToggle {
target: "notifications"
item: Osu.NotifCenter {
id: notifCenter
tracked: notificationServer.trackedNotifications
}
}
Osu.Notifs { id: notifPopup }
Osu.Wall {}
Osu.NotifPopup { id: notifPopup }
NotificationServer {
id: notificationServer
imageSupported: true
onNotification: (notif) => {
notif.tracked = true
if (!notifCenter.visible) notifPopup.notify(notif)
}
}
}