1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-27 06:52:50 -05:00

osd: add option to disable each OSD

This commit is contained in:
bbedward
2025-11-15 11:36:33 -05:00
parent 1c264d858b
commit cbb244f785
9 changed files with 122 additions and 8 deletions

View File

@@ -15,13 +15,13 @@ DankOSD {
target: AudioService.sink && AudioService.sink.audio ? AudioService.sink.audio : null
function onVolumeChanged() {
if (!AudioService.suppressOSD) {
if (!AudioService.suppressOSD && SettingsData.osdVolumeEnabled) {
root.show()
}
}
function onMutedChanged() {
if (!AudioService.suppressOSD) {
if (!AudioService.suppressOSD && SettingsData.osdVolumeEnabled) {
root.show()
}
}
@@ -31,7 +31,7 @@ DankOSD {
target: AudioService
function onSinkChanged() {
if (root.shouldBeVisible) {
if (root.shouldBeVisible && SettingsData.osdVolumeEnabled) {
root.show()
}
}