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:
@@ -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
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user