From d8f5471b3e6930b768df42e1889ebc71d9fab491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hasan=20A=2E=20Tekeo=C4=9Flu?= <55619655+tekeoglan@users.noreply.github.com> Date: Sat, 28 Jun 2025 20:25:36 +0300 Subject: [PATCH] config(WeatherService): add enableGps option --- .config/quickshell/modules/common/ConfigOptions.qml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.config/quickshell/modules/common/ConfigOptions.qml b/.config/quickshell/modules/common/ConfigOptions.qml index f4d40abbe..c96a7a9b0 100644 --- a/.config/quickshell/modules/common/ConfigOptions.qml +++ b/.config/quickshell/modules/common/ConfigOptions.qml @@ -73,8 +73,10 @@ Singleton { property int showNumberDelay: 300 // milliseconds } property QtObject weather: QtObject { - property bool show: false - // for specific location checkout gps setting + property bool show: true + // gps based location + property bool enableGPS: true + // use if 'enableGPS' is false property string city: "Istanbul" // use uscs units // by default use metric (SI) units @@ -171,11 +173,4 @@ Singleton { property QtObject hacks: QtObject { property int arbitraryRaceConditionDelay: 20 // milliseconds } - - // this is for weather and feature apis - property QtObject gps: QtObject { - property bool active: false - property real latitude: 41.27830580591624 - property real longitude: 28.730357071149154 - } }