53 lines
1.3 KiB
QML
53 lines
1.3 KiB
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 {
|
|
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 {}
|
|
}
|
|
}
|
|
}
|
|
}
|