massive cleanup

This commit is contained in:
Luke Smith
2019-05-19 20:05:14 -04:00
parent bf8c6b1e20
commit c6e69e9642
41 changed files with 11 additions and 24 deletions

9
.local/bin/transadd Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
# Mimeapp script for adding torrent to transmission-daemon, but will also start the daemon first if not running.
# transmission-daemon sometimes fails to take remote requests in its first moments.
pgrep -x transmission-da || (transmission-daemon && notify-send "Starting transmission daemon..." && sleep 3 && pkill -RTMIN+7 i3blocks)
transmission-remote -a "$@" && notify-send "🔽 Torrent added."