diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-03 14:26:51 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-03 14:26:51 +1000 |
| commit | 8af10012b9527e3e4a894e4a3c0fd8ea9ac0e132 (patch) | |
| tree | 799a2e04552377040541b9f07b36aa315b6cfe96 /modules | |
| parent | winfo: fix kill button (diff) | |
| parent | feat: fahrenheit option for weather (#189) (diff) | |
| download | caelestia-shell-8af10012b9527e3e4a894e4a3c0fd8ea9ac0e132.tar.gz caelestia-shell-8af10012b9527e3e4a894e4a3c0fd8ea9ac0e132.tar.bz2 caelestia-shell-8af10012b9527e3e4a894e4a3c0fd8ea9ac0e132.zip | |
Merge branch 'main' of https://github.com/caelestia-dots/shell
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/dashboard/dash/Weather.qml | 2 | ||||
| -rw-r--r-- | modules/lock/WeatherInfo.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/dashboard/dash/Weather.qml b/modules/dashboard/dash/Weather.qml index cc19385..f7d0f9b 100644 --- a/modules/dashboard/dash/Weather.qml +++ b/modules/dashboard/dash/Weather.qml @@ -38,7 +38,7 @@ Item { anchors.horizontalCenter: parent.horizontalCenter animate: true - text: `${Weather.temperature}°C` + text: Config.dashboard.useFahrenheit ? Weather.tempF : Weather.tempC color: Colours.palette.m3primary font.pointSize: Appearance.font.size.extraLarge font.weight: 500 diff --git a/modules/lock/WeatherInfo.qml b/modules/lock/WeatherInfo.qml index 1b840e6..7ed64dc 100644 --- a/modules/lock/WeatherInfo.qml +++ b/modules/lock/WeatherInfo.qml @@ -40,7 +40,7 @@ RowLayout { Layout.fillWidth: true animate: true - text: `${Weather.temperature}°C` + text: Config.dashboard.useFahrenheit ? Weather.tempF : Weather.tempC color: Colours.palette.m3primary horizontalAlignment: Text.AlignHCenter font.pointSize: Appearance.font.size.extraLarge |