diff options
Diffstat (limited to 'services/Recorder.qml')
| -rw-r--r-- | services/Recorder.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/Recorder.qml b/services/Recorder.qml index 370bfd8..d5c99ca 100644 --- a/services/Recorder.qml +++ b/services/Recorder.qml @@ -9,8 +9,8 @@ Singleton { readonly property alias running: props.running readonly property alias paused: props.paused - function toggle(): void { - Quickshell.execDetached(["caelestia", "record"]); + function toggle(extraArgs: list<string>): void { + Quickshell.execDetached(["caelestia", "record", ...extraArgs]); props.running = !props.running; if (!props.running) props.paused = false; |