1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-11 07:52:50 -05:00

bind to all PW sinks

This commit is contained in:
bbedward
2025-08-24 23:58:28 -04:00
parent 3d4a394ba9
commit 1ab7cb62aa
3 changed files with 9 additions and 5 deletions

View File

@@ -72,7 +72,9 @@ Singleton {
}
PwObjectTracker {
objects: [Pipewire.defaultAudioSink, Pipewire.defaultAudioSource]
objects: Pipewire.nodes.values.filter(
node => node.audio && (node.isSink || node.isSource) && !node.isStream
)
}
// Volume control functions

View File

@@ -32,7 +32,9 @@ Singleton {
}
PwObjectTracker {
objects: Pipewire.nodes.values
objects: Pipewire.nodes.values.filter(
node => node.audio && (node.isSink || node.isSource) && !node.isStream
)
}
readonly property bool cameraActive: {