Files
illogical-impulse/.config/quickshell/modules/bar/Bar.qml
T
2025-04-10 02:06:15 +02:00

69 lines
1.4 KiB
QML

import "../common"
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
import Quickshell
Scope {
Variants {
model: Quickshell.screens
PanelWindow {
property var modelData
screen: modelData
height: 40
color: Appearance.colors.colLayer0
// Left section
RowLayout {
anchors.left: parent.left
}
// Middle section
RowLayout {
anchors.centerIn: parent
implicitWidth: 500
RowLayout {
Layout.fillWidth: true
Layout.fillHeight: true
}
RowLayout {
Layout.fillWidth: true
Layout.fillHeight: true
}
RowLayout {
Layout.fillWidth: true
Layout.fillHeight: true
ClockWidget {
Layout.alignment: Qt.AlignVCenter
}
UtilButtons {
Layout.alignment: Qt.AlignVCenter
}
}
}
// Right section
RowLayout {
anchors.right: parent.right
}
anchors {
top: true
left: true
right: true
}
}
}
}