forked from Shinonome/dots-hyprland
empty bar
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
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.top: parent.top
|
||||
anchors.bottom: parent.top
|
||||
anchors.centerIn: parent
|
||||
|
||||
// Rectangle {
|
||||
|
||||
// }
|
||||
|
||||
// ClockWidget {
|
||||
// Layout.fillHeight: true
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
// Right section
|
||||
RowLayout {
|
||||
anchors.right: parent.right
|
||||
}
|
||||
|
||||
anchors {
|
||||
top: true
|
||||
left: true
|
||||
right: true
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import QtQuick
|
||||
import "../common"
|
||||
|
||||
Text {
|
||||
text: DateTime.time
|
||||
}
|
||||
Reference in New Issue
Block a user