colours: more fixes for cli rewrite
Fix setting mode Fix wallpaper preview scheme
This commit is contained in:
parent
388a6217ed
commit
4c475548af
2 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue