Weather: change how default city is set

This commit is contained in:
Ly-sec 2025-09-03 13:50:16 +02:00
parent c6e56d4264
commit 40b57c2df0
4 changed files with 12 additions and 12 deletions

View file

@ -25,6 +25,7 @@ Singleton {
property string defaultAvatar: Quickshell.env("HOME") + "/.face"
property string defaultWallpapersDirectory: Quickshell.env("HOME") + "/Pictures/Wallpapers"
property string defaultVideosDirectory: Quickshell.env("HOME") + "/Videos"
property string defaultLocation: "Tokyo"
// Used to access via Settings.data.xxx.yyy
readonly property alias data: adapter
@ -157,7 +158,7 @@ Singleton {
// location
property JsonObject location: JsonObject {
property string name: "Tokyo"
property string name: defaultLocation
property bool useFahrenheit: false
property bool reverseDayMonth: false
property bool use12HourClock: false