diff --git a/shell/plugins/bar/indicators/ScreenRecording.qml b/shell/plugins/bar/indicators/ScreenRecording.qml index 95e31f54..271e1c39 100644 --- a/shell/plugins/bar/indicators/ScreenRecording.qml +++ b/shell/plugins/bar/indicators/ScreenRecording.qml @@ -36,6 +36,8 @@ BarIndicator { } onPressed: function() { - if (root.bar) root.bar.run("omarchy-capture-screenrecording") + if (root.bar) { + root.bar.run(root.recording ? "omarchy-capture-screenrecording --stop-recording" : "omarchy-menu toggle trigger.capture.screenrecord") + } } }