use brightness service from caelestia-dots/shell

This commit is contained in:
end-4
2025-05-15 22:50:35 +02:00
parent 2499675687
commit c985273dc6
4 changed files with 122 additions and 78 deletions
@@ -28,6 +28,13 @@ Scope {
}
}
Connections {
target: Brightness
function onBrightnessChanged() {
showOsdValues = false
}
}
Connections {
target: Audio.sink?.audio ?? null
function onVolumeChanged() {
@@ -40,14 +47,6 @@ Scope {
}
}
Connections {
target: Brightness ?? null
function onValueChanged() {
if (!Brightness.ready) return
root.showOsdValues = false
}
}
Variants {
model: Quickshell.screens