summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-15 18:11:33 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-15 18:11:33 +1000
commitd989128cbc5ba72ee1a26e444e471b02e0c555f2 (patch)
tree3a07099fdc8b9abf539f1abdb287023a3186607b
parentfeat: user config file (diff)
downloadcaelestia-shell-d989128cbc5ba72ee1a26e444e471b02e0c555f2.tar.gz
caelestia-shell-d989128cbc5ba72ee1a26e444e471b02e0c555f2.tar.bz2
caelestia-shell-d989128cbc5ba72ee1a26e444e471b02e0c555f2.zip
config: actually reload when file changes
-rw-r--r--config/Config.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/Config.qml b/config/Config.qml
index 4605b8f..60b0b9f 100644
--- a/config/Config.qml
+++ b/config/Config.qml
@@ -19,6 +19,7 @@ Singleton {
FileView {
path: `${Paths.config}/shell.json`
watchChanges: true
+ onFileChanged: reload()
onAdapterUpdated: writeAdapter()
JsonAdapter {