65 lines
1.5 KiB
QML
65 lines
1.5 KiB
QML
import QtQuick
|
|
import Quickshell.Services.Pipewire
|
|
import qs.config
|
|
import qs.services
|
|
import qs.modules.quicksettings
|
|
|
|
SettingsPage {
|
|
title: "Sound"
|
|
lede: "Live PipeWire output, input, and device selection."
|
|
|
|
SettingsCard {
|
|
title: "Output"
|
|
subtitle: Pipewire.defaultAudioSink?.description ?? "No output device"
|
|
|
|
AudioSlider {
|
|
width: parent.width
|
|
node: Pipewire.defaultAudioSink
|
|
output: true
|
|
}
|
|
Rectangle {
|
|
width: parent.width
|
|
height: 1
|
|
color: Theme.alpha(Theme.fg, 0.06)
|
|
}
|
|
AudioDeviceList {
|
|
width: parent.width
|
|
output: true
|
|
maxHeight: 190
|
|
}
|
|
}
|
|
|
|
SettingsCard {
|
|
title: "Input"
|
|
subtitle: Pipewire.defaultAudioSource?.description ?? "No input device"
|
|
|
|
AudioSlider {
|
|
width: parent.width
|
|
node: Pipewire.defaultAudioSource
|
|
output: false
|
|
}
|
|
Rectangle {
|
|
width: parent.width
|
|
height: 1
|
|
color: Theme.alpha(Theme.fg, 0.06)
|
|
}
|
|
AudioDeviceList {
|
|
width: parent.width
|
|
output: false
|
|
maxHeight: 160
|
|
}
|
|
}
|
|
|
|
SettingsCard {
|
|
title: "Advanced sound"
|
|
|
|
ActionRow {
|
|
label: "Application volumes and profiles"
|
|
detail: "Open Fedora's complete sound panel"
|
|
divider: false
|
|
action: "Open panel"
|
|
onTriggered: SystemSettings.openGnomePanel("sound")
|
|
}
|
|
}
|
|
}
|