diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-12 00:37:38 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-08-12 00:37:38 +1000 |
| commit | 1665228cd9d890bfe02dc492a91651daec845dc7 (patch) | |
| tree | ba8c34571f3df45f5b3191d32f31b33dd311a2c0 /modules/lock/Clock.qml | |
| parent | lock: fix input colour (diff) | |
| download | caelestia-shell-1665228cd9d890bfe02dc492a91651daec845dc7.tar.gz caelestia-shell-1665228cd9d890bfe02dc492a91651daec845dc7.tar.bz2 caelestia-shell-1665228cd9d890bfe02dc492a91651daec845dc7.zip | |
internal: clean up old lock files
Diffstat (limited to 'modules/lock/Clock.qml')
| -rw-r--r-- | modules/lock/Clock.qml | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/modules/lock/Clock.qml b/modules/lock/Clock.qml deleted file mode 100644 index d024dd4..0000000 --- a/modules/lock/Clock.qml +++ /dev/null @@ -1,74 +0,0 @@ -pragma ComponentBehavior: Bound - -import qs.components -import qs.services -import qs.config -import QtQuick -import QtQuick.Layouts - -ColumnLayout { - id: root - - spacing: 0 - - readonly property list<string> timeComponents: Time.format(Config.services.useTwelveHourClock ? "hh:mm:A" : "hh:mm").split(":") - - RowLayout { - Layout.alignment: Qt.AlignHCenter - spacing: Appearance.spacing.small - - StyledText { - Layout.alignment: Qt.AlignVCenter - text: root.timeComponents[0] - color: Colours.palette.m3secondary - font.pointSize: Appearance.font.size.extraLarge * 4 - font.family: Appearance.font.family.mono - font.weight: 800 - } - - StyledText { - Layout.alignment: Qt.AlignVCenter - text: ":" - color: Colours.palette.m3primary - font.pointSize: Appearance.font.size.extraLarge * 4 - font.family: Appearance.font.family.mono - font.weight: 800 - } - - StyledText { - Layout.alignment: Qt.AlignVCenter - text: root.timeComponents[1] - color: Colours.palette.m3secondary - font.pointSize: Appearance.font.size.extraLarge * 4 - font.family: Appearance.font.family.mono - font.weight: 800 - } - - Loader { - Layout.leftMargin: Appearance.spacing.normal - Layout.alignment: Qt.AlignVCenter - - asynchronous: true - active: Config.services.useTwelveHourClock - visible: active - - sourceComponent: StyledText { - text: root.timeComponents[2] ?? "" - color: Colours.palette.m3primary - font.pointSize: Appearance.font.size.extraLarge * 3 - font.weight: 700 - } - } - } - - StyledText { - Layout.alignment: Qt.AlignHCenter - Layout.bottomMargin: Appearance.padding.large * 3 - - text: Time.format("dddd, d MMMM yyyy") - color: Colours.palette.m3tertiary - font.pointSize: Appearance.font.size.extraLarge - font.family: Appearance.font.family.mono - font.bold: true - } -} |