add hm module
This commit is contained in:
@@ -89,42 +89,11 @@ PanelWindow {
|
||||
}
|
||||
|
||||
|
||||
|
||||
Rectangle {
|
||||
|
||||
BarLeft {
|
||||
id: leftRect
|
||||
|
||||
implicitHeight: parent.height
|
||||
|
||||
|
||||
implicitWidth: 40
|
||||
|
||||
color: Pywal.special.background
|
||||
|
||||
|
||||
Launcher {
|
||||
id: launcher
|
||||
x: parent.width / 2 - implicitWidth / 2
|
||||
y: implicitWidth / 3
|
||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
|
||||
}
|
||||
|
||||
Workspaces {
|
||||
id: workspaces
|
||||
x: parent.width / 2 - implicitWidth / 2
|
||||
y: 20 + launcher.y + launcher.height
|
||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
|
||||
}
|
||||
|
||||
IdleInhibitor {
|
||||
id: idleInhibitor
|
||||
x: parent.width / 2 - implicitWidth / 2
|
||||
y: 20 + workspaces.y + workspaces.height
|
||||
Layout.alignment: Qt.AlignHCenter | Qt.AlignTop
|
||||
visible: false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Rectangle {
|
||||
id: rightRect
|
||||
x: parent.width - width
|
||||
@@ -226,58 +195,12 @@ PanelWindow {
|
||||
}
|
||||
}
|
||||
|
||||
VFlyout {
|
||||
BarTop {
|
||||
id: midFO
|
||||
x: root.screen.width / 2 - width / 2
|
||||
y: topRect.y + topRect.height - 1
|
||||
|
||||
color: Pywal.special.background
|
||||
|
||||
visible: set
|
||||
|
||||
property bool set: true
|
||||
|
||||
item: mid
|
||||
|
||||
RowLayout {
|
||||
id: mid
|
||||
|
||||
Notifications {
|
||||
id: notifications
|
||||
window: root
|
||||
}
|
||||
|
||||
Battery {
|
||||
window: root
|
||||
popupOffset: x + midFO.x
|
||||
}
|
||||
|
||||
Tray {
|
||||
window: root
|
||||
popupOffset: x + midFO.x
|
||||
}
|
||||
|
||||
Clock {
|
||||
id: clock
|
||||
}
|
||||
|
||||
Bluetooth {
|
||||
window: root
|
||||
popupOffset: x + midFO.x
|
||||
}
|
||||
|
||||
Volume {
|
||||
window: root
|
||||
popupOffset: x + midFO.x
|
||||
}
|
||||
|
||||
Power {
|
||||
id: power
|
||||
window: root
|
||||
popupOffset: x + midFO.x
|
||||
}
|
||||
}
|
||||
|
||||
radius: radius
|
||||
window: root
|
||||
radius: root.radius
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user