add popup for audio management
This commit is contained in:
parent
f409062ba6
commit
5005ba24db
11 changed files with 298 additions and 120 deletions
39
modules/bar/VolPopup.qml~
Normal file
39
modules/bar/VolPopup.qml~
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
import qs
|
||||
import qs.settings
|
||||
import Quickshell
|
||||
import QtQuick
|
||||
import qs.widgets
|
||||
|
||||
|
||||
|
||||
PopupWindow {
|
||||
id: volPopup
|
||||
anchor.item: root
|
||||
implicitWidth: 500
|
||||
implicitHeight: 600
|
||||
|
||||
anchor.edges: Edges.Top | Edges.Right
|
||||
anchor.gravity: Edges.Bottom | Edges.Left
|
||||
anchor.margins.top: 40
|
||||
anchor.margins.right: 0
|
||||
color: 'transparent'
|
||||
Rectangle {
|
||||
id: test
|
||||
anchors.fill: parent
|
||||
color: Colors.activeModuleBg
|
||||
radius: Config.rounding
|
||||
ListView {
|
||||
id: sourceLayout
|
||||
|
||||
model: Pipewire.nodes
|
||||
delegate: Rectangle {
|
||||
implicitHeight: 10
|
||||
|
||||
required property var modelData
|
||||
StyledText {
|
||||
text: parent.modelData.nickname
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue