Files
mxandClaude Opus 5.5 72a21c9363 List app playback streams for per-app volume and drop device lists
Quickshell marks playback streams as sinks, so the mixer showed
recording streams instead of players. Right-clicking Sound now shows
only the app sliders; Microphone no longer extends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 21:40:57 +02:00

25 lines
716 B
QML

pragma ComponentBehavior: Bound
import QtQuick
import ".."
import "../../services"
// Output volume. Right click (or spare rows) shows per-app volume.
CCSlider {
readonly property var node: AudioService.sink
objectName: "outputTile"
title: "Sound"
glyph: "󰕾"
mutedGlyph: "󰖁"
fallback: "♪"
sliderName: "volumeSlider"
muteName: "volumeMute"
muteable: true
enabled: !!node && !!node.audio
muted: enabled && node.audio.muted
value: enabled ? node.audio.volume : 0
notice: AudioService.available ? "" : "PipeWire is unavailable"
onMoved: value => AudioService.volume(false, value)
onMuteClicked: AudioService.mute(false)
extension: AudioMixer {}
}