From 3a91dc30f24b66056503220d35c80aa3bba74fe8 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 24 Nov 2019 08:10:31 -0500 Subject: use STATUSBAR variable safely --- .local/bin/torwrap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.local/bin/torwrap') diff --git a/.local/bin/torwrap b/.local/bin/torwrap index 16c131f..becd217 100755 --- a/.local/bin/torwrap +++ b/.local/bin/torwrap @@ -1,6 +1,6 @@ #!/usr/bin/env sh ifinstalled transmission-remote-cli transmission-cli || exit -! pgrep -x transmission-da >/dev/null && transmission-daemon && notify-send "Starting torrent daemon..." && sleep 3 && pkill -RTMIN+7 i3blocks +! pgrep -x transmission-da >/dev/null && transmission-daemon && notify-send "Starting torrent daemon..." && sleep 3 && pkill -RTMIN+7 "${STATUSBAR:?}" $TERMINAL -e transmission-remote-cli -- cgit v1.3.1