diff --git a/.config/quickshell/modules/bar/weather/WeatherBar.qml b/.config/quickshell/modules/bar/weather/WeatherBar.qml index bcab6edcc..b879646ce 100644 --- a/.config/quickshell/modules/bar/weather/WeatherBar.qml +++ b/.config/quickshell/modules/bar/weather/WeatherBar.qml @@ -33,7 +33,7 @@ Item { MaterialSymbol { fill: 0 - text: WeatherIcons.codeToName[WeatherService.data.wCode] + text: WeatherIcons.codeToName[Weather.data.wCode] iconSize: Appearance.font.pixelSize.large color: Appearance.colors.colOnLayer1 } @@ -42,7 +42,7 @@ Item { visible: true font.pixelSize: Appearance.font.pixelSize.large color: Appearance.colors.colOnLayer1 - text: WeatherService.data.temp + text: Weather.data.temp } } } diff --git a/.config/quickshell/modules/bar/weather/WeatherPopup.qml b/.config/quickshell/modules/bar/weather/WeatherPopup.qml index 0829bea9e..cda627455 100644 --- a/.config/quickshell/modules/bar/weather/WeatherPopup.qml +++ b/.config/quickshell/modules/bar/weather/WeatherPopup.qml @@ -34,7 +34,7 @@ Rectangle { } StyledText { - text: WeatherService.data.city + text: Weather.data.city font.pixelSize: Appearance.font.pixelSize.title font.family: Appearance.font.family.title color: Appearance.colors.colOnLayer0 @@ -52,42 +52,42 @@ Rectangle { WeatherCard { title: "UV Index" symbol: "wb_sunny" - value: WeatherService.data.uv + value: Weather.data.uv } WeatherCard { title: "Wind" symbol: "air" - value: `(${WeatherService.data.windDir}) ${WeatherService.data.wind}` + value: `(${Weather.data.windDir}) ${Weather.data.wind}` } WeatherCard { title: "Precipitation" symbol: "rainy_light" - value: WeatherService.data.precip + value: Weather.data.precip } WeatherCard { title: "Humidity" symbol: "humidity_low" - value: WeatherService.data.humidity + value: Weather.data.humidity } WeatherCard { title: "Visibility" symbol: "visibility" - value: WeatherService.data.visib + value: Weather.data.visib } WeatherCard { title: "Pressure" symbol: "readiness_score" - value: WeatherService.data.press + value: Weather.data.press } WeatherCard { title: "Sunrise" symbol: "wb_twilight" - value: WeatherService.data.sunrise + value: Weather.data.sunrise } WeatherCard { title: "Sunset" symbol: "bedtime" - value: WeatherService.data.sunset + value: Weather.data.sunset } } } diff --git a/.config/quickshell/services/WeatherService.qml b/.config/quickshell/services/Weather.qml similarity index 100% rename from .config/quickshell/services/WeatherService.qml rename to .config/quickshell/services/Weather.qml