diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-03-16 10:07:32 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-03-16 10:07:32 -0400 |
| commit | fc60c4aacf4189188bf566219d38cb2dab4704d8 (patch) | |
| tree | 3098f974ed4cfd7090c47db6de053d59e976f65d /modules/dashboard/dash/DateTime.qml | |
| parent | fix build (diff) | |
| download | caelestia-shell-fc60c4aacf4189188bf566219d38cb2dab4704d8.tar.gz caelestia-shell-fc60c4aacf4189188bf566219d38cb2dab4704d8.tar.bz2 caelestia-shell-fc60c4aacf4189188bf566219d38cb2dab4704d8.zip | |
simplify dashboard
Diffstat (limited to 'modules/dashboard/dash/DateTime.qml')
| -rw-r--r-- | modules/dashboard/dash/DateTime.qml | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/modules/dashboard/dash/DateTime.qml b/modules/dashboard/dash/DateTime.qml deleted file mode 100644 index e740448..0000000 --- a/modules/dashboard/dash/DateTime.qml +++ /dev/null @@ -1,65 +0,0 @@ -pragma ComponentBehavior: Bound - -import qs.components -import qs.services -import qs.config -import QtQuick -import QtQuick.Layouts - -Item { - id: root - - anchors.top: parent.top - anchors.bottom: parent.bottom - implicitWidth: Config.dashboard.sizes.dateTimeWidth - - ColumnLayout { - anchors.left: parent.left - anchors.right: parent.right - anchors.verticalCenter: parent.verticalCenter - spacing: 0 - - StyledText { - Layout.bottomMargin: -(font.pointSize * 0.4) - Layout.alignment: Qt.AlignHCenter - text: Time.hourStr - color: Colours.palette.m3secondary - font.pointSize: Appearance.font.size.extraLarge - font.family: Appearance.font.family.clock - font.weight: 600 - } - - StyledText { - Layout.alignment: Qt.AlignHCenter - text: "•••" - color: Colours.palette.m3primary - font.pointSize: Appearance.font.size.extraLarge * 0.9 - font.family: Appearance.font.family.clock - } - - StyledText { - Layout.topMargin: -(font.pointSize * 0.4) - Layout.alignment: Qt.AlignHCenter - text: Time.minuteStr - color: Colours.palette.m3secondary - font.pointSize: Appearance.font.size.extraLarge - font.family: Appearance.font.family.clock - font.weight: 600 - } - - Loader { - Layout.alignment: Qt.AlignHCenter - - active: Config.services.useTwelveHourClock - visible: active - - sourceComponent: StyledText { - text: Time.amPmStr - color: Colours.palette.m3primary - font.pointSize: Appearance.font.size.large - font.family: Appearance.font.family.clock - font.weight: 600 - } - } - } -} |