From e620677f9743eae657a12416d8f4aca94eddf53c Mon Sep 17 00:00:00 2001 From: purian23 Date: Thu, 27 Aug 2026 21:26:30 -0400 Subject: [PATCH] fix(weather): skip reverse geocoding when a location name is configured Fixes #2430 --- quickshell/Services/WeatherService.qml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/quickshell/Services/WeatherService.qml b/quickshell/Services/WeatherService.qml index 26d7a955e..8f9bd82c9 100644 --- a/quickshell/Services/WeatherService.qml +++ b/quickshell/Services/WeatherService.qml @@ -557,6 +557,13 @@ Singleton { } function getLocationFromCoords(lat, lon) { + const configuredName = SettingsData.weatherLocation; + if (configuredName) { + setLocation(lat, lon, configuredName, ""); + fetchWeather(lat, lon); + return; + } + // Use coordinates immediately for weather; resolve city name in parallel with fallbacks setLocation(lat, lon, I18n.tr("Local Weather"), ""); fetchWeather(lat, lon);