voidrice/.local/bin/torwrap

7 lines
235 B
Bash
Executable file

#!/bin/sh
ifinstalled tremc transmission-cli || exit
! pgrep -x transmission-da >/dev/null && transmission-daemon && notify-send "Starting torrent daemon..." && sleep 3 && pkill -RTMIN+7 "${STATUSBAR:-dwmblocks}"
$TERMINAL -e tremc