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

ifinstalled stig transmission-cli || exit 1

! pidof transmission-daemon >/dev/null && transmission-daemon && notify-send "Starting torrent daemon..."

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