diff --git a/quickshell/Modules/DankBar/Widgets/ControlCenterButton.qml b/quickshell/Modules/DankBar/Widgets/ControlCenterButton.qml index 4fa51332..b632782e 100644 --- a/quickshell/Modules/DankBar/Widgets/ControlCenterButton.qml +++ b/quickshell/Modules/DankBar/Widgets/ControlCenterButton.qml @@ -255,11 +255,14 @@ BasePill { MouseArea { anchors.fill: parent - acceptedButtons: Qt.NoButton + acceptedButtons: Qt.RightButton onWheel: function (wheelEvent) { root.handleVolumeWheel(wheelEvent.angleDelta.y); wheelEvent.accepted = true; } + onClicked: { + AudioService.toggleMute(); + } } } @@ -280,11 +283,14 @@ BasePill { MouseArea { anchors.fill: parent - acceptedButtons: Qt.NoButton + acceptedButtons: Qt.RightButton onWheel: function (wheelEvent) { root.handleMicWheel(wheelEvent.angleDelta.y); wheelEvent.accepted = true; } + onClicked: { + AudioService.toggleMicMute(); + } } } @@ -389,11 +395,14 @@ BasePill { MouseArea { id: audioWheelArea anchors.fill: parent - acceptedButtons: Qt.NoButton + acceptedButtons: Qt.RightButton onWheel: function (wheelEvent) { root.handleVolumeWheel(wheelEvent.angleDelta.y); wheelEvent.accepted = true; } + onClicked: { + AudioService.toggleMute(); + } } } @@ -415,11 +424,14 @@ BasePill { MouseArea { id: micWheelArea anchors.fill: parent - acceptedButtons: Qt.NoButton + acceptedButtons: Qt.RightButton onWheel: function (wheelEvent) { root.handleMicWheel(wheelEvent.angleDelta.y); wheelEvent.accepted = true; } + onClicked: { + AudioService.toggleMicMute(); + } } }