added transmission settings

This commit is contained in:
2025-06-21 12:35:06 +05:00
parent 94719ad186
commit fc643c007f
3 changed files with 85 additions and 2 deletions

View File

@ -36,6 +36,10 @@ vim.api.nvim_create_autocmd("FileType", {
pattern = "cs",
command = "setlocal shiftwidth=4 tabstop=4"
})
vim.api.nvim_create_autocmd("FileType", {
pattern = "Jenkinsfile",
command = "setlocal shiftwidth=2 tabstop=2"
})
vim.cmd "au VimEnter * silent! !xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'"
vim.cmd "au VimLeave * silent! !xmodmap -e 'clear Lock' -e 'keycode 0x42 = Caps_Lock'"

View File

@ -176,8 +176,8 @@ bindsym --to-code $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy
# subscribe to ntfy notifications
exec ~/Scripts/ntfy/ntfy_subscribe.sh &
# try to make DP-2 monitor primary for xwayland apps
# start xwayland at session start to make DP-2 monitor primary
xwayland force
exec xrandr --output DP-2 --primary
exec_always sleep 10s && xrandr --output DP-2 --primary
include /etc/sway/config.d/*

View File

@ -0,0 +1,79 @@
{
"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": false,
"anti-brute-force-threshold": 100,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"blocklist-url": "http://www.example.com/blocklist",
"cache-size-mb": 4,
"default-trackers": "",
"dht-enabled": true,
"download-dir": "/home/nikita/hdd/Downloads",
"download-queue-enabled": true,
"download-queue-size": 5,
"encryption": 1,
"idle-seeding-limit": 30,
"idle-seeding-limit-enabled": false,
"incomplete-dir": "/home/nikita/hdd/Downloads",
"incomplete-dir-enabled": false,
"lpd-enabled": true,
"message-level": 4,
"peer-congestion-algorithm": "",
"peer-limit-global": 200,
"peer-limit-per-torrent": 50,
"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": "{81bde6fbaa04122e11234901f59f8ecdd26514bd7UX5ZIJ0",
"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": true,
"script-torrent-added-filename": "~/Scripts/transmission/transmission_add_handler.sh",
"script-torrent-done-enabled": true,
"script-torrent-done-filename": "~/Scripts/transmission/transmission_done_handler.sh",
"script-torrent-done-seeding-enabled": false,
"script-torrent-done-seeding-filename": "",
"seed-queue-enabled": false,
"seed-queue-size": 10,
"speed-limit-down": 100,
"speed-limit-down-enabled": false,
"speed-limit-up": 100,
"speed-limit-up-enabled": false,
"start-added-torrents": true,
"tcp-enabled": true,
"torrent-added-verify-mode": "fast",
"trash-original-torrent-files": false,
"umask": "022",
"upload-slots-per-torrent": 8,
"utp-enabled": true
}