non important commit
This commit is contained in:
parent
853258afe3
commit
de83e0737c
1 changed files with 13 additions and 7 deletions
|
|
@ -2,24 +2,30 @@ import Quickshell
|
|||
import QtQuick
|
||||
|
||||
ShellRoot {
|
||||
id: root
|
||||
|
||||
SystemClock {
|
||||
id: clock
|
||||
precision: SystemClock.Minutes
|
||||
}
|
||||
|
||||
Variants {
|
||||
model: Quickshell.screens
|
||||
|
||||
PanelWindow {
|
||||
property var modelData
|
||||
|
||||
screen: modelData
|
||||
|
||||
anchors.top: true
|
||||
anchors.left: true
|
||||
anchors.bottom: true
|
||||
implicitWidth: 50
|
||||
color: "#1a1b26"
|
||||
|
||||
SystemClock {
|
||||
id: clock
|
||||
precision: SystemClock.Minutes
|
||||
}
|
||||
|
||||
Text {
|
||||
anchors.centerIn: parent
|
||||
color: "#FFFFFF"
|
||||
font.pixelSize: 14
|
||||
text: Qt.formatDateTime(clock.date, "hh\nmm")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue