aboutsummaryrefslogtreecommitdiff
path: root/stopScreenRecord.sh
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2021-04-07 20:19:45 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2021-04-07 20:19:45 +0200
commit1c1d4d33618eb647ff38e5802ecf6e26d16cad38 (patch)
tree10dbe8e10f512c65033acc247a5e3188859a18eb /stopScreenRecord.sh
parent60ecffe5784e5980939416dcbf22b81a26a5de62 (diff)
downloadscripts-1c1d4d33618eb647ff38e5802ecf6e26d16cad38.tar.gz
scripts-1c1d4d33618eb647ff38e5802ecf6e26d16cad38.zip
Scripts now check env var for status bar name.
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"