diff options
Diffstat (limited to 'stopScreenRecord.sh')
-rwxr-xr-x | stopScreenRecord.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stopScreenRecord.sh b/stopScreenRecord.sh index 680f2f4..71131a3 100755 --- a/stopScreenRecord.sh +++ b/stopScreenRecord.sh @@ -1,6 +1,6 @@ #!/bin/sh -MARKFILE='/tmp/screenRec.mark' +markfile='/tmp/screenRec.mark' # Terminate ffmpeg processes for process in $(pgrep -x ffmpeg) do @@ -11,5 +11,5 @@ for process in $(pgrep -x screenRecord.sh) do kill "$process" && notify-send -t 1000 "Recording $process stopped." done -rm $MARKFILE +rm $markfile pkill -SIGRTMIN+13 i3blocks |