quiethost

This commit is contained in:
Lucas Faber authored and Lucas Vivohost committed 2026-09-14 09:20:47 +02:00
1 parent 9c379af76b
commit b3c06c0a80
47 files changed
+2116

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
ssh serverhost sudo /home/lucas/scripts/deluge_user_cmd.sh deluge-console add "$1" > /home/lucas/.LOG/torrentlog.log 2>&1
if [ $(cat /home/lucas/.LOG/torrentlog.log | grep -o "Torrent added!" | wc -l) -gt 0 ]; then
notify-send 'Add Magnet' 'Success'
else
notify-send 'Add Magnet' 'FAIL -> Copy to Clipboard'
echo "$1" | xclip
fi
exit