consolidate logic

This commit is contained in:
Ryan Hughes
2026-05-19 19:18:56 -04:00
parent ccc796a3e0
commit 1f3a827701
20 changed files with 158 additions and 148 deletions
+2 -4
View File
@@ -3,12 +3,10 @@ import Quickshell
import Quickshell.Services.Pipewire
import qs.Ui
Item {
BarWidget {
id: root
moduleName: "microphone"
property QtObject bar: null
property string moduleName: "microphone"
property var settings: ({})
readonly property var source: Pipewire.defaultAudioSource
readonly property bool muted: source && source.audio ? source.audio.muted : true