summaryrefslogtreecommitdiff
path: root/modules/dashboard/dash/Weather.qml
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-03-16 10:07:32 -0400
committerFreya Murphy <freya@freyacat.org>2026-03-16 10:07:32 -0400
commitfc60c4aacf4189188bf566219d38cb2dab4704d8 (patch)
tree3098f974ed4cfd7090c47db6de053d59e976f65d /modules/dashboard/dash/Weather.qml
parentfix build (diff)
downloadcaelestia-shell-fc60c4aacf4189188bf566219d38cb2dab4704d8.tar.gz
caelestia-shell-fc60c4aacf4189188bf566219d38cb2dab4704d8.tar.bz2
caelestia-shell-fc60c4aacf4189188bf566219d38cb2dab4704d8.zip
simplify dashboard
Diffstat (limited to 'modules/dashboard/dash/Weather.qml')
-rw-r--r--modules/dashboard/dash/Weather.qml57
1 files changed, 0 insertions, 57 deletions
diff --git a/modules/dashboard/dash/Weather.qml b/modules/dashboard/dash/Weather.qml
deleted file mode 100644
index c90ccf0a..0000000
--- a/modules/dashboard/dash/Weather.qml
+++ /dev/null
@@ -1,57 +0,0 @@
-import qs.components
-import qs.services
-import qs.config
-import qs.utils
-import QtQuick
-
-Item {
- id: root
-
- anchors.centerIn: parent
-
- implicitWidth: icon.implicitWidth + info.implicitWidth + info.anchors.leftMargin
-
- Component.onCompleted: Weather.reload()
-
- MaterialIcon {
- id: icon
-
- anchors.verticalCenter: parent.verticalCenter
- anchors.left: parent.left
-
- animate: true
- text: Weather.icon
- color: Colours.palette.m3secondary
- font.pointSize: Appearance.font.size.extraLarge * 2
- }
-
- Column {
- id: info
-
- anchors.verticalCenter: parent.verticalCenter
- anchors.left: icon.right
- anchors.leftMargin: Appearance.spacing.large
-
- spacing: Appearance.spacing.small
-
- StyledText {
- anchors.horizontalCenter: parent.horizontalCenter
-
- animate: true
- text: Weather.temp
- color: Colours.palette.m3primary
- font.pointSize: Appearance.font.size.extraLarge
- font.weight: 500
- }
-
- StyledText {
- anchors.horizontalCenter: parent.horizontalCenter
-
- animate: true
- text: Weather.description
-
- elide: Text.ElideRight
- width: Math.min(implicitWidth, root.parent.width - icon.implicitWidth - info.anchors.leftMargin - Appearance.padding.large * 2)
- }
- }
-}