summaryrefslogtreecommitdiffstats
path: root/.local/bin/torwrap
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/torwrap')
-rwxr-xr-x.local/bin/torwrap2
1 files changed, 1 insertions, 1 deletions
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