volume tabs
This commit is contained in:
@@ -1,9 +1,35 @@
|
||||
pragma ComponentBehavior: Bound
|
||||
|
||||
import Quickshell
|
||||
import Quickshell.Networking
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import qs.Modules
|
||||
import qs.Helpers
|
||||
|
||||
ColumnLayout {
|
||||
Item {
|
||||
id: root
|
||||
|
||||
required property var wrapper
|
||||
|
||||
ColumnLayout {
|
||||
id: layout
|
||||
|
||||
spacing: 8
|
||||
|
||||
Repeater {
|
||||
model: Network.devices
|
||||
|
||||
CustomRadioButton {
|
||||
id: network
|
||||
visible: modelData.name !== "lo"
|
||||
|
||||
required property NetworkDevice modelData
|
||||
|
||||
checked: Network.activeDevice?.name === modelData.name
|
||||
onClicked:
|
||||
text: modelData.description
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user