diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-04-18 10:33:58 -0400 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-04-18 10:33:58 -0400 |
| commit | 37788be5d97cf9c32be1abae76fddc77f4ea87f6 (patch) | |
| tree | 33389a3d010938a33b29a2f9934e788d0d1c6bfa /.local/bin/torwrap | |
| parent | 82f016a5c34f3495414e28772039770daccee8a7 (diff) | |
| download | eibhear-37788be5d97cf9c32be1abae76fddc77f4ea87f6.tar.gz eibhear-37788be5d97cf9c32be1abae76fddc77f4ea87f6.tar.zst eibhear-37788be5d97cf9c32be1abae76fddc77f4ea87f6.zip | |
ifinstalled now checks for packages, iplocate fix,
sleep removed from torwrap
Diffstat (limited to '.local/bin/torwrap')
| -rwxr-xr-x | .local/bin/torwrap | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.local/bin/torwrap b/.local/bin/torwrap index 82a268a..4f94053 100755 --- a/.local/bin/torwrap +++ b/.local/bin/torwrap @@ -1,7 +1,7 @@ #!/bin/sh -ifinstalled tremc transmission-cli || exit +ifinstalled tremc-git transmission-cli || exit -! ps ax | grep -q "\stransmission-daemon$" && transmission-daemon && notify-send "Starting torrent daemon..." && sleep 3 && pkill -RTMIN+7 "${STATUSBAR:-dwmblocks}" & +! pidof transmission-daemon >/dev/null && transmission-daemon && notify-send "Starting torrent daemon..." -$TERMINAL -e tremc +$TERMINAL -e tremc; pkill -RTMIN+7 "${STATUSBAR:-dwmblocks}" |
