summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-26 11:10:08 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-01-26 11:10:08 +0900
commitd79594d09832545d5c46976db2dac3616cce31b9 (patch)
tree423d304af296f20ae40fccdd43b370cf2591cf5a
parentd64154004a4915a2cf45a962e506e954ef1bdfe7 (diff)
modified transmission-daemon/settings.json, modified bin/td-toggle
-rw-r--r--ar/.config/transmission-daemon/settings.json162
-rwxr-xr-xar/.local/bin/td-toggle2
2 files changed, 82 insertions, 82 deletions
diff --git a/ar/.config/transmission-daemon/settings.json b/ar/.config/transmission-daemon/settings.json
index 1137d23..1712475 100644
--- a/ar/.config/transmission-daemon/settings.json
+++ b/ar/.config/transmission-daemon/settings.json
@@ -1,83 +1,83 @@
{
- "alt-speed-down": 50,
- "alt-speed-enabled": false,
- "alt-speed-time-begin": 540,
- "alt-speed-time-day": 127,
- "alt-speed-time-enabled": false,
- "alt-speed-time-end": 1020,
- "alt-speed-up": 50,
- "announce-ip": "",
- "announce-ip-enabled": false,
- "anti-brute-force-enabled": true,
- "anti-brute-force-threshold": 100,
- "bind-address-ipv4": "0.0.0.0",
- "bind-address-ipv6": "::",
- "blocklist-enabled": true,
- "blocklist-url": "http://list.iblocklist.com/humantest?list=ydxerpxkpcfqjaybcssw&fileformat=p2p&archieveformat=gz",
- "cache-size-mb": 16,
- "default-trackers": "",
- "dht-enabled": true,
- "download-dir": "/home/si/Torrents/complete",
- "download-queue-enabled": true,
- "download-queue-size": 50,
- "encryption": 1,
- "idle-seeding-limit": 30,
- "idle-seeding-limit-enabled": false,
- "incomplete-dir": "/home/si/Torrents/incomplete",
- "incomplete-dir-enabled": true,
- "lpd-enabled": true,
- "message-level": 4,
- "peer-congestion-algorithm": "",
- "peer-limit-global": 200,
- "peer-limit-per-torrent": 100,
- "peer-port": 51413,
- "peer-port-random-high": 65535,
- "peer-port-random-low": 49152,
- "peer-port-random-on-start": false,
- "peer-socket-tos": "le",
- "pex-enabled": true,
- "port-forwarding-enabled": true,
- "preallocation": 1,
- "prefetch-enabled": true,
- "queue-stalled-enabled": true,
- "queue-stalled-minutes": 30,
- "ratio-limit": 2,
- "ratio-limit-enabled": false,
- "rename-partial-files": false,
- "rpc-authentication-required": false,
- "rpc-bind-address": "0.0.0.0",
- "rpc-enabled": true,
- "rpc-host-whitelist": "",
- "rpc-host-whitelist-enabled": true,
- "rpc-password": "{ea540a9e5ca1a548f3fa2eb9c4efc6cb43ed8e4141vvWF.X",
- "rpc-port": 9091,
- "rpc-socket-mode": "0750",
- "rpc-url": "/transmission/",
- "rpc-username": "",
- "rpc-whitelist": "127.0.0.1,::1",
- "rpc-whitelist-enabled": true,
- "scrape-paused-torrents-enabled": true,
- "script-torrent-added-enabled": false,
- "script-torrent-added-filename": "",
- "script-torrent-done-enabled": true,
- "script-torrent-done-filename": "tordone",
- "script-torrent-done-seeding-enabled": false,
- "script-torrent-done-seeding-filename": "",
- "seed-queue-enabled": true,
- "seed-queue-size": 0,
- "speed-limit-down": 100,
- "speed-limit-down-enabled": false,
- "speed-limit-up": 0,
- "speed-limit-up-enabled": true,
- "start-added-torrents": true,
- "tcp-enabled": true,
- "torrent-added-verify-mode": "fast",
- "trash-can-enabled": true,
- "trash-original-torrent-files": true,
- "umask": "022",
- "upload-slots-per-torrent": 0,
- "utp-enabled": true,
- "watch-dir": "/home/si/Torrents",
- "watch-dir-enabled": true,
- "watch-dir-force-generic": false
+ "alt-speed-down": 50,
+ "alt-speed-enabled": false,
+ "alt-speed-time-begin": 540,
+ "alt-speed-time-day": 127,
+ "alt-speed-time-enabled": false,
+ "alt-speed-time-end": 1020,
+ "alt-speed-up": 50,
+ "announce-ip": "",
+ "announce-ip-enabled": false,
+ "anti-brute-force-enabled": true,
+ "anti-brute-force-threshold": 100,
+ "bind-address-ipv4": "0.0.0.0",
+ "bind-address-ipv6": "::",
+ "blocklist-enabled": true,
+ "blocklist-url": "http://list.iblocklist.com/humantest?list=ydxerpxkpcfqjaybcssw&fileformat=p2p&archieveformat=gz",
+ "cache-size-mb": 16,
+ "default-trackers": "",
+ "dht-enabled": true,
+ "download-dir": "/home/si/Torrents/complete",
+ "download-queue-enabled": true,
+ "download-queue-size": 50,
+ "encryption": 1,
+ "idle-seeding-limit": 30,
+ "idle-seeding-limit-enabled": false,
+ "incomplete-dir": "/home/si/Torrents/incomplete",
+ "incomplete-dir-enabled": true,
+ "lpd-enabled": true,
+ "message-level": 4,
+ "peer-congestion-algorithm": "",
+ "peer-limit-global": 200,
+ "peer-limit-per-torrent": 100,
+ "peer-port": 51413,
+ "peer-port-random-high": 65535,
+ "peer-port-random-low": 49152,
+ "peer-port-random-on-start": false,
+ "peer-socket-tos": "le",
+ "pex-enabled": true,
+ "port-forwarding-enabled": true,
+ "preallocation": 1,
+ "prefetch-enabled": true,
+ "queue-stalled-enabled": true,
+ "queue-stalled-minutes": 30,
+ "ratio-limit": 2,
+ "ratio-limit-enabled": false,
+ "rename-partial-files": false,
+ "rpc-authentication-required": false,
+ "rpc-bind-address": "0.0.0.0",
+ "rpc-enabled": true,
+ "rpc-host-whitelist": "",
+ "rpc-host-whitelist-enabled": true,
+ "rpc-password": "{ea540a9e5ca1a548f3fa2eb9c4efc6cb43ed8e4141vvWF.X",
+ "rpc-port": 9091,
+ "rpc-socket-mode": "0750",
+ "rpc-url": "/transmission/",
+ "rpc-username": "",
+ "rpc-whitelist": "127.0.0.1,::1",
+ "rpc-whitelist-enabled": true,
+ "scrape-paused-torrents-enabled": true,
+ "script-torrent-added-enabled": false,
+ "script-torrent-added-filename": "",
+ "script-torrent-done-enabled": true,
+ "script-torrent-done-filename": "tordone",
+ "script-torrent-done-seeding-enabled": false,
+ "script-torrent-done-seeding-filename": "",
+ "seed-queue-enabled": true,
+ "seed-queue-size": 0,
+ "speed-limit-down": 100,
+ "speed-limit-down-enabled": false,
+ "speed-limit-up": 0,
+ "speed-limit-up-enabled": true,
+ "start-added-torrents": true,
+ "tcp-enabled": true,
+ "torrent-added-verify-mode": "fast",
+ "trash-can-enabled": true,
+ "trash-original-torrent-files": true,
+ "umask": "022",
+ "upload-slots-per-torrent": 0,
+ "utp-enabled": true,
+ "watch-dir": "/home/si/Torrents",
+ "watch-dir-enabled": true,
+ "watch-dir-force-generic": false
}
diff --git a/ar/.local/bin/td-toggle b/ar/.local/bin/td-toggle
index 5dc4d49..940e4c4 100755
--- a/ar/.local/bin/td-toggle
+++ b/ar/.local/bin/td-toggle
@@ -6,6 +6,6 @@ if pidof transmission-daemon >/dev/null; then
[ "$(printf "Yes\\nNo" | dmenu -i -p "Turn off transmission-daemon?")" = "Yes" ] && killall transmission-daemon && notify-send "❌ transmission-daemon disabled."
else
ifinstalled transmission-cli || exit
- [ "$(printf "Yes\\nNo" | dmenu -i -p "Turn on transmission daemon?")" = "Yes" ] && transmission-daemon && notify-send "🚄 transmission-daemon enabled."
+ [ "$(printf "No\\nYes" | dmenu -i -p "Turn on transmission daemon?")" = "Yes" ] && transmission-daemon && notify-send "🚄 transmission-daemon enabled."
fi
sleep 3 && pkill -RTMIN+22 "${STATUSBAR:-dwmblocks}"