pipewire service, lock-aware applets, cpu overall chart, security comments
This commit is contained in:
parent
e7bf175169
commit
8628b4b27b
13 changed files with 183 additions and 208 deletions
|
|
@ -3,7 +3,6 @@ import Quickshell
|
|||
import Quickshell.Wayland
|
||||
import Quickshell.Io
|
||||
import Quickshell.Services.Mpris
|
||||
import Quickshell.Services.Pipewire
|
||||
import "." as D
|
||||
import "../services" as S
|
||||
import "../applets" as C
|
||||
|
|
@ -325,9 +324,6 @@ PanelWindow {
|
|||
|
||||
C.VolumeApplet {
|
||||
width: parent.width
|
||||
sink: Pipewire.defaultAudioSink
|
||||
sinkList: root._sinkList
|
||||
streamList: root._streamList
|
||||
accentColor: root._accent
|
||||
}
|
||||
}
|
||||
|
|
@ -430,30 +426,6 @@ PanelWindow {
|
|||
active: _memCard.expanded && S.DockState.open
|
||||
}
|
||||
|
||||
PwObjectTracker {
|
||||
objects: [Pipewire.defaultAudioSink, ...root._streamList]
|
||||
}
|
||||
|
||||
readonly property var _sinkList: {
|
||||
const sinks = [];
|
||||
if (Pipewire.nodes) {
|
||||
for (const node of Pipewire.nodes.values)
|
||||
if (!node.isStream && node.isSink)
|
||||
sinks.push(node);
|
||||
}
|
||||
return sinks;
|
||||
}
|
||||
|
||||
readonly property var _streamList: {
|
||||
const streams = [];
|
||||
if (Pipewire.nodes) {
|
||||
for (const node of Pipewire.nodes.values)
|
||||
if (node.isStream && node.audio)
|
||||
streams.push(node);
|
||||
}
|
||||
return streams;
|
||||
}
|
||||
|
||||
Process {
|
||||
id: _runner
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue