use STATUSBAR variable safely

This commit is contained in:
Luke Smith
2019-11-24 08:10:31 -05:00
parent 499e222fd7
commit 3a91dc30f2
8 changed files with 10 additions and 10 deletions

View File

@@ -4,6 +4,6 @@
# transmission-daemon sometimes fails to take remote requests in its first moments.
pgrep -x transmission-da || (transmission-daemon && notify-send "Starting transmission daemon..." && sleep 3 && pkill -RTMIN+7 i3blocks)
pgrep -x transmission-da || (transmission-daemon && notify-send "Starting transmission daemon..." && sleep 3 && pkill -RTMIN+7 "${STATUSBAR:?}")
transmission-remote -a "$@" && notify-send "🔽 Torrent added."