mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
OSD: Single component instance. Multi monitor support (follows notifications settings)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user