aboutsummaryrefslogtreecommitdiff
path: root/stopScreenRecord.sh
diff options
context:
space:
mode:
Diffstat (limited to 'stopScreenRecord.sh')
-rwxr-xr-xstopScreenRecord.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/stopScreenRecord.sh b/stopScreenRecord.sh
index 71131a3..664589d 100755
--- a/stopScreenRecord.sh
+++ b/stopScreenRecord.sh
@@ -12,4 +12,4 @@ do
kill "$process" && notify-send -t 1000 "Recording $process stopped."
done
rm $markfile
-pkill -SIGRTMIN+13 i3blocks
+[ -n "$STATUS_BAR" ] && pkill -SIGRTMIN+13 "$STATUS_BAR"