diff options
| author | dec05eba <dec05eba@protonmail.com> | 2026-08-02 01:36:33 +0200 |
|---|---|---|
| committer | dec05eba <dec05eba@protonmail.com> | 2026-08-02 01:36:33 +0200 |
| commit | f547fcc354671c672fffb20092e72d231e6ed1e4 (patch) | |
| tree | 1d23aff0c7d5268089b688cae8626c97c79233c4 /scripts | |
| parent | 9b799f6e45c5e7a44432824f69d9632ff5848e6c (diff) | |
Add gsr-cli program that sends ipc commands to gpu-screen-recorder
gsr-cli sends a command to the ipc socket of a running GPU Screen
Recorder and exits with 0 when it replied with ok, printing the reason to
stderr when it didn't, which means the commands don't have to be sent
blindly like signals are. The status command checks if GPU Screen
Recorder is running by connecting to the socket without sending a
command, so it's also correct when a killed instance left the socket
behind.
The json helpers moved into src/json.c to be shared between the two
programs.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
