voidrice/.local/bin/i3cmds/torwrap

7 lines
253 B
Text
Raw Normal View History

2019-01-26 23:13:36 +00:00
#!/bin/sh
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