diff --git a/.config/quickshell/modules/common/ConfigOptions.qml b/.config/quickshell/modules/common/ConfigOptions.qml index ad5395743..f4d40abbe 100644 --- a/.config/quickshell/modules/common/ConfigOptions.qml +++ b/.config/quickshell/modules/common/ConfigOptions.qml @@ -73,7 +73,7 @@ Singleton { property int showNumberDelay: 300 // milliseconds } property QtObject weather: QtObject { - property bool show: true + property bool show: false // for specific location checkout gps setting property string city: "Istanbul" // use uscs units diff --git a/.config/quickshell/modules/settings/ServicesConfig.qml b/.config/quickshell/modules/settings/ServicesConfig.qml index 1be540363..b77c086f6 100644 --- a/.config/quickshell/modules/settings/ServicesConfig.qml +++ b/.config/quickshell/modules/settings/ServicesConfig.qml @@ -136,4 +136,17 @@ ContentPage { } } -} \ No newline at end of file + ContentSubsection { + title: "Weather" + ConfigRow { + uniform: false + ConfigSwitch { + text: "Show" + checked: ConfigOptions.bar.weather.show + onCheckedChanged: { + ConfigLoader.setConfigValueAndSave("bar.weather.show", checked); + } + } + } + } +}