diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2020-02-08 18:43:37 -0500 |
|---|---|---|
| committer | Luke Smith <luke@lukesmith.xyz> | 2020-02-08 18:43:37 -0500 |
| commit | 2b5df860ded1412a0c0be0d140d138616e926dfc (patch) | |
| tree | 7cf2598594bfd640b61771704012c87cae154034 /.local/bin/torwrap | |
| parent | a25e8b640ac83b6eb345977e59803e999bc42202 (diff) | |
| download | eibhear-2b5df860ded1412a0c0be0d140d138616e926dfc.tar.gz eibhear-2b5df860ded1412a0c0be0d140d138616e926dfc.tar.zst eibhear-2b5df860ded1412a0c0be0d140d138616e926dfc.zip | |
#!/bin/sh shebang. newline after universalized.
Diffstat (limited to '.local/bin/torwrap')
| -rwxr-xr-x | .local/bin/torwrap | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/torwrap b/.local/bin/torwrap index becd217..881d8cc 100755 --- a/.local/bin/torwrap +++ b/.local/bin/torwrap @@ -1,4 +1,5 @@ -#!/usr/bin/env sh +#!/bin/sh + ifinstalled transmission-remote-cli transmission-cli || exit ! pgrep -x transmission-da >/dev/null && transmission-daemon && notify-send "Starting torrent daemon..." && sleep 3 && pkill -RTMIN+7 "${STATUSBAR:?}" |
