dotfiles/bin/.bin/transadd

7 lines
331 B
Plaintext
Raw Permalink Normal View History

#!/bin/sh
pgrep -x transmission-da >/dev/null || (transmission-daemon && notify-send "Starting transmission daemon...") && sleep 3
# ssh 192.168.1.100 "transmission-remote -a \"$@\"" && notify-send "🔻 Transmission-daemon" "Torrent Added."
transmission-remote -a "$@" && notify-send "🔻 Transmission-daemon" "Torrent Added."