-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBar.qml
More file actions
63 lines (52 loc) · 1.58 KB
/
Bar.qml
File metadata and controls
63 lines (52 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
// Bar.qml
import Quickshell
import QtQuick
import QtQuick.Layouts
import "./bar"
import "./services"
import qs.MaterialDesign
Scope {
Variants {
model: Quickshell.screens
PanelWindow {
required property var modelData
screen: modelData
anchors {
top: true
left: true
bottom: true
//right: true
}
implicitWidth: 60
color: "transparent"
Rectangle {
anchors.fill: parent
color: Theme.m3surfaceContainer
radius: 10
Item {
anchors {
topMargin: 10
bottomMargin: 10
}
anchors.fill: parent
WorkspacesWidget {
anchors.centerIn: parent
}
Column {
anchors.horizontalCenter: parent.horizontalCenter
// / anchors.verticalCenter: parent.verticalCenter
spacing: 10
// layoutDirection: Qt.RightToLeft
// Add widgets here
anchors.top: parent.top
//anchors.right: parent.right
// Test {}
ClockWidget {}
BatteryWidget {}
Test{}
}
}
}
}
}
}