From 9ddf765a03fae63892644d11bb48112daeaf528a Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 26 Jan 2019 18:13:36 -0500 Subject: torrent wrap and other changes --- .scripts/i3cmds/torwrap | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 .scripts/i3cmds/torwrap (limited to '.scripts/i3cmds/torwrap') diff --git a/.scripts/i3cmds/torwrap b/.scripts/i3cmds/torwrap new file mode 100755 index 0000000..6b501cc --- /dev/null +++ b/.scripts/i3cmds/torwrap @@ -0,0 +1,6 @@ +#!/bin/sh +ifinstalled transmission-remote-cli transmission-cli || exit + +! pgrep -x transmission-da >/dev/null && transmission-daemon && notify-send -i "$PIX/torrent.svg" "Starting torrent daemon..." && sleep 3 && pkill -RTMIN+7 i3blocks + +$TERMINAL -e transmission-remote-cli -- cgit v1.3.1