Files
osu-shell/shell.qml
2026-02-09 00:09:29 -08:00

38 lines
831 B
QML

import "." as Osu
import Quickshell
import Quickshell.Io
import Quickshell.Services.Notifications
ShellRoot {
id: root
readonly property var font: {
family: "comfortaa"
}
Osu.IpcToggle {
target: "launcher"
item: Osu.Launcher {}
}
Osu.IpcToggle {
target: "lock"
item: Osu.Lock { }
}
Osu.IpcToggle {
target: "notifications"
item: Osu.NotifCenter {
id: notifCenter
tracked: notificationServer.trackedNotifications
}
}
Osu.Wall {}
Osu.NotifPopup { id: notifPopup }
NotificationServer {
id: notificationServer
imageSupported: true
onNotification: (notif) => {
notif.tracked = true
if (!notifCenter.visible) notifPopup.notify(notif)
}
}
}