OSD: unified Volume & Brightness OSD into one file (OSD.qml), move OSD settings to NotificationTab

This commit is contained in:
Ly-sec
2025-09-23 18:07:14 +02:00
parent c6303cdb6b
commit 4cd53c4083
5 changed files with 120 additions and 241 deletions
+4 -2
View File
@@ -61,15 +61,17 @@ ShellRoot {
ToastOverlay {}
// OSD overlays for volume and brightness
VolumeOSD {
OSD {
id: volumeOSD
objectName: "volumeOSD"
osdType: OSD.Type.Volume
onOsdShowing: brightnessOSD.hideOSD()
}
BrightnessOSD {
OSD {
id: brightnessOSD
objectName: "brightnessOSD"
osdType: OSD.Type.Brightness
onOsdShowing: volumeOSD.hideOSD()
}