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>
25 lines
716 B
QML
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 {}
|
|
}
|