From f575dadeefc6d8b58b3f13b12a315b25de2332b5 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 22 Feb 2019 16:39:58 -0500 Subject: note bloat gone; pix replaced with emojis --- .scripts/tools/transadd | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to '.scripts/tools/transadd') diff --git a/.scripts/tools/transadd b/.scripts/tools/transadd index 0ab4784..ad2ee7f 100755 --- a/.scripts/tools/transadd +++ b/.scripts/tools/transadd @@ -1,12 +1,9 @@ #!/bin/sh -# Mimeapp script for adding torrent to transmission-daemon, but will also start -# the daemon first if not running. +# Mimeapp script for adding torrent to transmission-daemon, but will also start the daemon first if not running. -# Optionally requires my `note` script. The sleep of 3 seconds is because the -# transmission-daemon sometimes fails to take remote requests in its first -# moments. +# transmission-daemon sometimes fails to take remote requests in its first moments. -pgrep -x transmission-da || (transmission-daemon && note "Starting daemon..." "$PIX/dl.svg" && sleep 3 && pkill -RTMIN+7 i3blocks) +pgrep -x transmission-da || (transmission-daemon && notify-send "Starting transmission daemon..." && sleep 3 && pkill -RTMIN+7 i3blocks) -transmission-remote -a "$@" && note "Torrent added." "$PIX/dl.svg" +transmission-remote -a "$@" && notify-send "🔽 Torrent added." -- cgit v1.3.1