use STATUSBAR variable safely
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user