feat(modules/bar): add weather bar

This commit is contained in:
Hasan A. Tekeoğlu
2025-06-27 12:30:25 +03:00
parent 4f7ed4da53
commit 3f44ecb068
7 changed files with 462 additions and 62 deletions
@@ -72,6 +72,16 @@ Singleton {
property bool alwaysShowNumbers: false
property int showNumberDelay: 300 // milliseconds
}
property QtObject weather: QtObject {
property bool show: true
// for specific location checkout gps setting
property string city: "Istanbul"
// use uscs units
// by default use metric (SI) units
property bool useUSCS: false
// in minutes
property int fetchInterval: 10
}
}
property QtObject battery: QtObject {
@@ -161,4 +171,11 @@ 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
}
}