colours: more fixes for cli rewrite

Fix setting mode
Fix wallpaper preview scheme
This commit is contained in:
2 * r + 2 * t 2025-06-15 14:11:07 +10:00
parent 388a6217ed
commit 4c475548af
2 changed files with 2 additions and 2 deletions

View file

@ -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();
}

View file

@ -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 => {