mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-05 14:59:27 -05:00
feat(settings): add weather section
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -136,4 +136,17 @@ ContentPage {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
ContentSubsection {
|
||||
title: "Weather"
|
||||
ConfigRow {
|
||||
uniform: false
|
||||
ConfigSwitch {
|
||||
text: "Show"
|
||||
checked: ConfigOptions.bar.weather.show
|
||||
onCheckedChanged: {
|
||||
ConfigLoader.setConfigValueAndSave("bar.weather.show", checked);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user