forked from Shinonome/dots-hyprland
fix(ServiceConfig): add weatherbar section
This commit is contained in:
@@ -138,16 +138,13 @@ ContentPage {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ContentSubsection {
|
ContentSection {
|
||||||
title: "Weather"
|
title: "Weather"
|
||||||
ConfigRow {
|
ConfigSwitch {
|
||||||
uniform: false
|
text: "Show"
|
||||||
ConfigSwitch {
|
checked: Config.options.bar.weather.show
|
||||||
text: "Show"
|
onCheckedChanged: {
|
||||||
checked: ConfigOptions.bar.weather.show
|
Config.options.bar.weather.show = checked;
|
||||||
onCheckedChanged: {
|
|
||||||
ConfigLoader.setConfigValueAndSave("bar.weather.show", checked);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user