update
This commit is contained in:
+8
-1
@@ -1,15 +1,16 @@
|
||||
pragma Singleton
|
||||
|
||||
import qs.Config
|
||||
import ZShell.Services
|
||||
import ZShell
|
||||
import Quickshell
|
||||
import Quickshell.Services.Pipewire
|
||||
import QtQuick
|
||||
import qs.Config
|
||||
|
||||
Singleton {
|
||||
id: root
|
||||
|
||||
readonly property alias cava: cava
|
||||
readonly property bool muted: !!sink?.audio?.muted
|
||||
readonly property var nodes: Pipewire.nodes.values.reduce((acc, node) => {
|
||||
if (!node.isStream) {
|
||||
@@ -131,6 +132,12 @@ Singleton {
|
||||
previousSourceName = newSourceName;
|
||||
}
|
||||
|
||||
CavaProvider {
|
||||
id: cava
|
||||
|
||||
bars: Config.services.visualizerBars
|
||||
}
|
||||
|
||||
PwObjectTracker {
|
||||
objects: [...root.sinks, ...root.sources, ...root.streams]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user