diff --git a/config/modules/quickshell/quickshell/Audio.qml b/config/modules/quickshell/quickshell/Audio.qml index ede7aa7..32b3c2b 100644 --- a/config/modules/quickshell/quickshell/Audio.qml +++ b/config/modules/quickshell/quickshell/Audio.qml @@ -12,6 +12,7 @@ Rectangle { PwObjectTracker { objects: [root.defaultSpeaker, root.defaultMic] } + visible: root.defaultSpeaker.audio.muted || root.defaultMic.audio.muted implicitHeight: 20 implicitWidth: content.width color: Colors.backgroundAlt diff --git a/config/modules/quickshell/quickshell/BatteryWidget.qml b/config/modules/quickshell/quickshell/BatteryWidget.qml index 820e3fb..559c0fb 100644 --- a/config/modules/quickshell/quickshell/BatteryWidget.qml +++ b/config/modules/quickshell/quickshell/BatteryWidget.qml @@ -7,6 +7,7 @@ RowLayout { id: content height: 20 anchors.centerIn: root + visible: UPower.displayDevice.percentage != 0 Rectangle { implicitHeight: text.height implicitWidth: text.width