diff options
| author | Soramane <61896496+soramanew@users.noreply.github.com> | 2025-07-16 21:44:27 +1000 |
|---|---|---|
| committer | Soramane <61896496+soramanew@users.noreply.github.com> | 2025-07-16 21:44:27 +1000 |
| commit | f263df3ccdc7eab6d3befe8f189715df3cf27b59 (patch) | |
| tree | 3d6c4b272937fcbda00e0848939b13c630ce20d0 /services | |
| parent | nix: add qt log rules to devshell (diff) | |
| download | caelestia-shell-f263df3ccdc7eab6d3befe8f189715df3cf27b59.tar.gz caelestia-shell-f263df3ccdc7eab6d3befe8f189715df3cf27b59.tar.bz2 caelestia-shell-f263df3ccdc7eab6d3befe8f189715df3cf27b59.zip | |
internal: create service config
Diffstat (limited to 'services')
| -rw-r--r-- | services/Weather.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/Weather.qml b/services/Weather.qml index 493a2a0..38750ae 100644 --- a/services/Weather.qml +++ b/services/Weather.qml @@ -15,8 +15,8 @@ Singleton { property string tempF: "0°F" function reload(): void { - if (Config.dashboard.weatherLocation) - loc = Config.dashboard.weatherLocation; + if (Config.services.weatherLocation) + loc = Config.services.weatherLocation; else if (!loc || timer.elapsed() > 900) Requests.get("https://ipinfo.io/json", text => { loc = JSON.parse(text).loc ?? ""; |