diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-17 15:59:09 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-17 15:59:09 +1000 |
| commit | f14d00d3dcab45e1f1b158b71b1a7111551b88a8 (patch) | |
| tree | 803f94d3e54b26d11966e436ad7f97a7eb0bca17 /services | |
| parent | feat: impl scheme launcher action (diff) | |
| download | caelestia-shell-f14d00d3dcab45e1f1b158b71b1a7111551b88a8.tar.gz caelestia-shell-f14d00d3dcab45e1f1b158b71b1a7111551b88a8.tar.bz2 caelestia-shell-f14d00d3dcab45e1f1b158b71b1a7111551b88a8.zip | |
internal: use execDetached
Diffstat (limited to 'services')
| -rw-r--r-- | services/Colours.qml | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/services/Colours.qml b/services/Colours.qml index 724a76e..20fb6aa 100644 --- a/services/Colours.qml +++ b/services/Colours.qml @@ -53,12 +53,7 @@ Singleton { } function setMode(mode: string): void { - setModeProc.command = ["caelestia", "scheme", "set", "--notify", "-m", mode]; - setModeProc.startDetached(); - } - - Process { - id: setModeProc + Quickshell.execDetached(["caelestia", "scheme", "set", "--notify", "-m", mode]); } FileView { |