diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-15 14:11:07 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-15 14:11:07 +1000 |
| commit | 4c475548afd9baf452a1d0ad134626a494d00c96 (patch) | |
| tree | acc7d6aa0b93bf723318ddbd23ed05f25bdb593c | |
| parent | internal: update for scripts overhaul (#45) (diff) | |
| download | caelestia-shell-4c475548afd9baf452a1d0ad134626a494d00c96.tar.gz caelestia-shell-4c475548afd9baf452a1d0ad134626a494d00c96.tar.bz2 caelestia-shell-4c475548afd9baf452a1d0ad134626a494d00c96.zip | |
colours: more fixes for cli rewrite
Fix setting mode
Fix wallpaper preview scheme
| -rw-r--r-- | services/Colours.qml | 2 | ||||
| -rw-r--r-- | services/Wallpapers.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/services/Colours.qml b/services/Colours.qml index 3751240..ea3b02a 100644 --- a/services/Colours.qml +++ b/services/Colours.qml @@ -53,7 +53,7 @@ Singleton { } function setMode(mode: string): void { - setModeProc.command = ["caelestia", "scheme", "dynamic", "default", mode]; + setModeProc.command = ["caelestia", "scheme", "-m", mode]; setModeProc.startDetached(); } diff --git a/services/Wallpapers.qml b/services/Wallpapers.qml index 44ca6a0..dd6a9f7 100644 --- a/services/Wallpapers.qml +++ b/services/Wallpapers.qml @@ -77,7 +77,7 @@ Singleton { Process { id: getPreviewColoursProc - command: ["caelestia", "scheme", "print", root.previewPath] + command: ["caelestia", "wallpaper", "-p", root.previewPath] stdout: SplitParser { splitMarker: "" onRead: data => { |