weather options
This commit is contained in:
parent
d6d108ee7c
commit
3a6ba994c5
3 changed files with 18 additions and 2 deletions
|
|
@ -27,6 +27,8 @@ QtObject {
|
|||
property bool battery: true
|
||||
property bool wlogout: true
|
||||
|
||||
property var weatherArgs: ["--nerd"]
|
||||
|
||||
property FileView _file: FileView {
|
||||
path: (Quickshell.env("XDG_CONFIG_HOME") || (Quickshell.env("HOME") + "/.config")) + "/nova-shell/modules.json"
|
||||
watchChanges: true
|
||||
|
|
@ -45,5 +47,7 @@ QtObject {
|
|||
if (k in root && typeof root[k] === "boolean")
|
||||
root[k] = data[k];
|
||||
}
|
||||
if (Array.isArray(data.weatherArgs))
|
||||
root.weatherArgs = data.weatherArgs;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue