add popup for audio management
This commit is contained in:
parent
f409062ba6
commit
5005ba24db
11 changed files with 298 additions and 120 deletions
|
|
@ -6,44 +6,48 @@ import qs.settings
|
|||
import qs.widgets
|
||||
import qs
|
||||
|
||||
|
||||
Variants {
|
||||
model: Quickshell.screens
|
||||
delegate: PanelWindow {
|
||||
required property ShellScreen modelData
|
||||
id: root
|
||||
screen: modelData
|
||||
anchors {
|
||||
top: true
|
||||
left: true
|
||||
right: true
|
||||
}
|
||||
color: 'transparent'
|
||||
implicitHeight: Config.barHeight
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: Colors.barBg
|
||||
RowLayout {
|
||||
anchors.leftMargin: 10
|
||||
anchors.left: parent.left
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
Ws { barScreen: root.modelData }
|
||||
ActiveWindow {}
|
||||
}
|
||||
RowLayout {
|
||||
anchors.centerIn: parent
|
||||
Date {}
|
||||
}
|
||||
RowLayout {
|
||||
anchors.rightMargin: 10
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
Mpris {}
|
||||
Bat {}
|
||||
Pw {}
|
||||
Tray {}
|
||||
WallPicker {screenHeight: root.screen.height}
|
||||
}
|
||||
}
|
||||
id: root
|
||||
required property ShellScreen modelData
|
||||
screen: modelData
|
||||
anchors {
|
||||
top: true
|
||||
left: true
|
||||
right: true
|
||||
}
|
||||
color: 'transparent'
|
||||
implicitHeight: Config.barHeight
|
||||
Rectangle {
|
||||
anchors.fill: parent
|
||||
color: Colors.barBg
|
||||
RowLayout {
|
||||
anchors.leftMargin: 10
|
||||
anchors.left: parent.left
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
Ws {
|
||||
barScreen: root.modelData
|
||||
}
|
||||
ActiveWindow {}
|
||||
}
|
||||
RowLayout {
|
||||
anchors.centerIn: parent
|
||||
Date {}
|
||||
}
|
||||
RowLayout {
|
||||
anchors.rightMargin: 10
|
||||
anchors.right: parent.right
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
Mpris {}
|
||||
Bat {}
|
||||
|
||||
Tray {}
|
||||
WallPicker {
|
||||
screenHeight: root.screen.height
|
||||
}
|
||||
Pw {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue