chore: update configs

This commit is contained in:
2025-05-21 15:32:27 +02:00
parent fb086cb885
commit d15fe0104c
7 changed files with 44 additions and 49 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/bash
main() {
pid="$(pgrep "wf-recorder" || pgrep "slurp")"
status=$?
if [[ $status != 0 ]]; then
GEO="$(slurp)" && wf-recorder -g "$GEO" -f "$HOME/Pictures/$(date +'recording_%Y-%m-%d-%H%M%S.mp4')"
else
pkill --signal SIGINT wf-recorder
fi
}
main