update signaling

This commit is contained in:
2026-01-06 19:51:50 -08:00
parent 2c4a7e993e
commit 115903a116
2 changed files with 5 additions and 5 deletions

View File

@ -7,18 +7,18 @@ VIDEO="-w DP-3 -k av1_10bit -c mkv -fm content -bm vbr"
OUTPUT="-o $HOME/wdraidz/media/game-videos/$(date +%m-%d-%Y_%R:%S).mkv"
if [ -n "$GSRPID" ]; then
kill -2 $GSRPID
kill -36 $DWMBLOCKSPID
kill -SIGINT $GSRPID
kill -RTMIN+2 $DWMBLOCKSPID
notify-send "recording saved" -i :
exit
fi
if [ $1 = 1 ]; then
gpu-screen-recorder $VIDEO $AUDIONOMIC $OUTPUT&
kill -36 $DWMBLOCKSPID
kill -RTMIN+2 $DWMBLOCKSPID
notify-send "recording started with no mic" -i :
else
gpu-screen-recorder $VIDEO $AUDIO $OUTPUT&
kill -36 $DWMBLOCKSPID
kill -RTMIN+2 $DWMBLOCKSPID
notify-send "recording started" -i :
fi