diff --git a/config/aurora/modules/Settings.qml b/config/aurora/modules/Settings.qml index 853c47a..6d82041 100644 --- a/config/aurora/modules/Settings.qml +++ b/config/aurora/modules/Settings.qml @@ -19,7 +19,8 @@ Singleton { property string colorsPath: s_json.colorsPath - property Process changeColors: Process { + Process { + id: cc command: [ s_json.changeColorsCmd ] running: false } @@ -76,7 +77,10 @@ Singleton { watchChanges: true - onFileChanged: reload() + onFileChanged: { + reload() + cc.running = true + } JsonAdapter { id: c_json diff --git a/config/aurora/modules/Wallpaper.qml b/config/aurora/modules/Wallpaper.qml index 1763473..d31b986 100644 --- a/config/aurora/modules/Wallpaper.qml +++ b/config/aurora/modules/Wallpaper.qml @@ -46,16 +46,6 @@ Flickable { } } - Timer { - id: cct - running: false - repeat: false - interval: 3000 - onTriggered: { - Settings.changeColors.running = true - } - } - RowLayout { id: lay @@ -89,7 +79,6 @@ Flickable { onClicked: { sw.running = true - cct.running = true } } }