1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-27 15:02: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

@@ -18,7 +18,7 @@ DankOSD {
target: typeof PowerProfiles !== "undefined" ? PowerProfiles : null
function onProfileChanged() {
if (lastProfile !== -1 && lastProfile !== PowerProfiles.profile) {
if (lastProfile !== -1 && lastProfile !== PowerProfiles.profile && SettingsData.osdPowerProfileEnabled) {
root.show()
}
lastProfile = PowerProfiles.profile