quickshell-config/Bar.qml

39 lines
675 B
QML
Raw Permalink Normal View History

2025-05-03 13:04:07 +02:00
pragma ComponentBehavior: Bound
import QtQuick
import QtQuick.Layouts
import Quickshell
PanelWindow {
id: root
color: "transparent"
anchors {
top: true
bottom: true
2025-05-06 10:30:18 +02:00
left: true
2025-05-03 13:04:07 +02:00
}
width: 60
ColumnLayout {
// anchors.fill: parent
anchors.margins: 2
spacing: 2
anchors {
left: parent.left
right: parent.right
top: parent.top
margins: 2
}
ClockWidget {}
WorkspaceWidget {
bar: root
2025-05-06 09:38:56 +02:00
wsBaseIndex: root.screen.name == "DP-2" ? 11 : 1
}
SysTray {
bar: root
2025-05-03 13:04:07 +02:00
}
}
}