diff options
| author | Matheus Oliveira <t2fema00@students.oamk.fi> | 2025-08-20 05:19:06 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-20 12:19:06 +1000 |
| commit | 12f0d518622cbb9e00455c9591bd597f64a1747b (patch) | |
| tree | a0adacf67335694c3d789eaca947eab02ad1a807 /src | |
| parent | [CI] chore: update flake (diff) | |
| download | caelestia-cli-12f0d518622cbb9e00455c9591bd597f64a1747b.tar.gz caelestia-cli-12f0d518622cbb9e00455c9591bd597f64a1747b.tar.bz2 caelestia-cli-12f0d518622cbb9e00455c9591bd597f64a1747b.zip | |
record: use correct proc (#47)
Previously, the start() function always invoked 'wl-screenrec' regardless of detected GPU, which prevented recording on systems with NVIDIA GPUswhen 'wf-recorder' is available.
This change updates start() to launch the recorder stored in
self.recorder, ensuring the correct recorder is used based on GPU detection.
Diffstat (limited to 'src')
| -rw-r--r-- | src/caelestia/subcommands/record.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/caelestia/subcommands/record.py b/src/caelestia/subcommands/record.py index 6481a0a..71b8c5d 100644 --- a/src/caelestia/subcommands/record.py +++ b/src/caelestia/subcommands/record.py @@ -78,7 +78,7 @@ class Command: recording_path.parent.mkdir(parents=True, exist_ok=True) proc = subprocess.Popen( - ["wl-screenrec", *args, "-f", recording_path], + [self.recorder, *args, "-f", recording_path], stderr=subprocess.PIPE, text=True, start_new_session=True, |