49 lines
918 B
QML
49 lines
918 B
QML
import Quickshell
|
|
import QtQuick
|
|
import QtQuick.Layouts
|
|
import qs.modules.wallpaper
|
|
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}
|
|
}
|
|
}
|
|
}
|
|
}
|