voidrice/.local/bin/torwrap

7 lines
261 B
Text
Raw Normal View History

2019-08-18 16:28:11 +00:00
#!/usr/bin/env sh
2019-01-26 23:13:36 +00:00
ifinstalled transmission-remote-cli transmission-cli || exit
2019-03-20 18:45:08 +00:00
! pgrep -x transmission-da >/dev/null && transmission-daemon && notify-send "Starting torrent daemon..." && sleep 3 && pkill -RTMIN+7 i3blocks
2019-01-26 23:13:36 +00:00
$TERMINAL -e transmission-remote-cli