1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 14:32:52 -05:00

brightness: add udev monitor, bind OSDs to netlink events

fixes #863
This commit is contained in:
bbedward
2025-12-01 11:54:20 -05:00
parent 94851a51aa
commit e5d11ce535
11 changed files with 553 additions and 42 deletions

View File

@@ -159,7 +159,6 @@ Row {
}
return targetDevice.displayMax || 100;
}
value: !isDragging ? targetBrightness : value
showValue: true
unit: {
if (!targetDevice)
@@ -177,5 +176,10 @@ Row {
}
thumbOutlineColor: Theme.surfaceContainer
trackColor: Theme.withAlpha(Theme.surfaceContainerHigh, Theme.popupTransparency)
Binding on value {
value: root.targetBrightness
when: !brightnessSlider.isDragging
}
}
}