chore: improve screen recorder script

This commit is contained in:
2025-08-07 17:08:38 +02:00
parent da689d2d0a
commit a27b458435
5 changed files with 29 additions and 28 deletions

View File

@@ -1,12 +0,0 @@
#! /usr/bin/env bash
main() {
pid="$(pgrep "wf-recorder" || pgrep "slurp")"
status=$?
if [[ $status == 0 ]]; then
pkill --signal SIGINT wf-recorder
fi
}
main $@