ifinstalled now checks for packages, iplocate fix,

sleep removed from torwrap
This commit is contained in:
Luke Smith committed 2020-04-18 10:33:58 -04:00
1 parent 82f016a5c3
commit 37788be5d9
3 files changed
+11 -7

No files matched your search

+3 -3
View File
@@ -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}"