diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-29 09:38:23 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-04-29 09:38:23 +1000 |
| commit | 46e1127b66a435dc4ba4b8e3ce57715da24b7743 (patch) | |
| tree | f0451a122d6234240e5688110f1b03133423352f /modules/bar/Clock.qml | |
| parent | refactor: appearance fix typing (diff) | |
| download | caelestia-shell-46e1127b66a435dc4ba4b8e3ce57715da24b7743.tar.gz caelestia-shell-46e1127b66a435dc4ba4b8e3ce57715da24b7743.tar.bz2 caelestia-shell-46e1127b66a435dc4ba4b8e3ce57715da24b7743.zip | |
refactor: move bar components into folder
Diffstat (limited to 'modules/bar/Clock.qml')
| -rw-r--r-- | modules/bar/Clock.qml | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/modules/bar/Clock.qml b/modules/bar/Clock.qml deleted file mode 100644 index a34cc2c..0000000 --- a/modules/bar/Clock.qml +++ /dev/null @@ -1,30 +0,0 @@ -import "root:/widgets" -import "root:/services" -import "root:/config" -import QtQuick -import QtQuick.Layouts - -BoxLayout { - id: root - - readonly property color colour: Appearance.colours.peach - - padding: [Appearance.padding.smaller, 0] - - MaterialIcon { - text: "calendar_month" - color: root.colour - - Layout.alignment: Layout.Center - } - - Label { - horizontalAlignment: Label.AlignHCenter - text: root.vertical ? Time.format("hh\nmm") : Time.format("dd/MM/yy hh:mm") - font.pointSize: Appearance.font.size.smaller - font.family: Appearance.font.family.mono - color: root.colour - - Layout.alignment: Layout.Center - } -} |