dotfiles/bin/.bin/transadd
Anthony Debucquoy 9eede5ef5f
First Commit
This is a first dotfiles config. I think I have a lot more to add tho...
2023-10-24 23:29:07 +02:00

7 lines
331 B
Bash
Executable File

#!/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."