diff options
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 - } -} |