aboutsummaryrefslogtreecommitdiff
path: root/stopScreenRecord.sh
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2020-12-12 14:36:41 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2020-12-12 14:36:41 +0100
commit6b3555e44f61adc6cfe3de901b02e127bd23b146 (patch)
treeb9a6635c79670689c1eb605ca08cfa4595bd90c2 /stopScreenRecord.sh
parent90b5bcd99f9a2723b5e56bcf11a70d30d1153723 (diff)
downloadscripts-6b3555e44f61adc6cfe3de901b02e127bd23b146.tar.gz
scripts-6b3555e44f61adc6cfe3de901b02e127bd23b146.zip
Updated screen record scripts to record 1080p monitor when two present.
Diffstat (limited to 'stopScreenRecord.sh')
-rwxr-xr-xstopScreenRecord.sh4
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