summaryrefslogtreecommitdiff
path: root/mac/.local/bin/torwrap
blob: f03836103eb86c9007b4149d1fdfdf997e96793f (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

ifinstalled stig transmission-cli || exit 1

! pgrep -x transmission-daemon >/dev/null 2>&1 && transmission-daemon && osascript -e 'display notification "Starting torrent daemon..." with title "transmission-daemon"'

"${TERMINAL:-st}" -n stig -e stig
pkill -RTMIN+22 "${STATUSBAR:-dwmblocks}"