This commit is contained in:
Bloxx12 2025-06-24 07:46:51 +02:00
commit 1a27b905bf
Signed by: faukah
SSH key fingerprint: SHA256:Uj2AXqvtdCA4hn5Hq0ZonhIAyUqI1q4w2sMG3Z1TH7E
16 changed files with 622 additions and 177 deletions

View file

@ -1,18 +1,26 @@
import QtQuick
import QtQuick.Layouts
import Quickshell
Rectangle {
width: parent.width
height: text.height + 10
border.color: "black"
width: text.width
implicitHeight: text.height
// border.color: "black"
border.width: 2
radius: 5
color: "#30c0ffff"
radius: 0
color: "transparent"
Behavior on implicitHeight {
NumberAnimation {
duration: 100
easing.type: Easing.OutCubic
}
}
Item {
width: parent.width
height: text.height * 2
height: text.height
anchors.centerIn: parent
@ -26,11 +34,11 @@ Rectangle {
anchors.centerIn: parent
property var date: Date()
text: Qt.formatDateTime(clock.date, "hh\nmm")
text: Qt.formatDateTime(clock.date, "hh mm")
font.family: "ComicShannsMono Nerd Font Mono"
font.weight: Font.ExtraBold
font.pointSize: 18
font.pointSize: 12
color: "black"
}