Audio Service: more abstraction

This commit is contained in:
quadbyte 2025-08-13 16:38:38 -04:00
parent ee326a72ae
commit ade52f5013
3 changed files with 39 additions and 35 deletions

View file

@ -10,10 +10,6 @@ Item {
width: pill.width
height: pill.height
Component.onCompleted: {
console.log("[Volume] settingsPanel received:", !!settingsPanel)
}
// Used to avoid opening the pill on Quickshell startup
property bool firstVolumeReceived: false
@ -50,9 +46,9 @@ Item {
onWheel: function (angle) {
if (angle > 0) {
Audio.volumeIncrement()
Audio.increaseVolume()
} else if (angle < 0) {
Audio.volumeDecrement()
Audio.decreaseVolume()
}
}
onClicked: {