update everything to current config
This commit is contained in:
8
home/default/.local/bin/transadd
Executable file
8
home/default/.local/bin/transadd
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Mimeapp script for adding torrent to deluge, but will also start the daemon first if not running.
|
||||
|
||||
pgrep deluged >/dev/null || (deluged && notify-send "Starting deluge daemon...")
|
||||
|
||||
# BUG will always return 1 if under v2.1.2, see https://dev.deluge-torrent.org/ticket/3582#ticket
|
||||
if deluge-console add "$@" ; then notify-send "🔽 Torrent added." ; else notify-send "🔽 failed to add, maybe it exists?" ; fi
|
Reference in New Issue
Block a user