OSD: Single component instance. Multi monitor support (follows notifications settings)

This commit is contained in:
ItsLemmy
2025-09-24 17:05:57 -04:00
parent b96deaa0c3
commit 22b8edb023
2 changed files with 311 additions and 272 deletions
+1 -15
View File
@@ -59,21 +59,7 @@ ShellRoot {
}
ToastOverlay {}
// OSD overlays for volume and brightness
OSD {
id: volumeOSD
objectName: "volumeOSD"
osdType: OSD.Type.Volume
onOsdShowing: brightnessOSD.hideOSD()
}
OSD {
id: brightnessOSD
objectName: "brightnessOSD"
osdType: OSD.Type.Brightness
onOsdShowing: volumeOSD.hideOSD()
}
OSD {}
// IPCService is treated as a service
// but it's actually an Item that needs to exists in the shell.