summaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-15 15:59:24 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-09-15 15:59:24 +1000
commit4f54763e02dab4e33764cdd57c204368da57dd1c (patch)
tree3f0626f2ba67b1c95b352061ab090f441c7cb694 /services
parentutilities/record: app2unit (diff)
downloadcaelestia-shell-4f54763e02dab4e33764cdd57c204368da57dd1c.tar.gz
caelestia-shell-4f54763e02dab4e33764cdd57c204368da57dd1c.tar.bz2
caelestia-shell-4f54763e02dab4e33764cdd57c204368da57dd1c.zip
utilities/record: select mode
Diffstat (limited to 'services')
-rw-r--r--services/Recorder.qml4
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;