literate-dotfiles/torrent.org

81 lines
2.4 KiB
Org Mode
Raw Normal View History

2020-03-27 15:38:04 +01:00
#+TITLE: Torrent Configuration
2021-01-01 20:12:34 +01:00
#+SETUPFILE: ./setup/org-setup-file.org
2020-03-27 15:38:04 +01:00
2021-01-01 20:12:34 +01:00
* =tremc= - Curses interface for Transmission
2020-03-27 15:38:04 +01:00
https://github.com/tremc/tremc
#+begin_src conf :comments none :mkdirp yes :tangle ~/.config/tremc/settings.cfg :noweb no-export
[Connection]
password = <<get-password(passname="nas/transmission")>>
username = tdehaeze
port = 9091
host = torrent.tdehaeze.xyz
path = /transmission/rpc
ssl = False
2020-03-27 15:38:04 +01:00
[Sorting]
order = name
2020-03-27 15:38:04 +01:00
[Filtering]
filter =
invert = False
2020-03-27 15:38:04 +01:00
[Misc]
compact_list = False
torrentname_is_progressbar = True
file_viewer = xdg-open %%s
file_open_in_terminal = True
2020-03-27 15:38:04 +01:00
[Colors]
title_seed = bg:green,fg:black
title_download = bg:blue,fg:black
title_idle = bg:cyan,fg:black
title_verify = bg:magenta,fg:black
title_paused = bg:black,fg:white
title_error = bg:red,fg:white
download_rate = bg:black,fg:blue
upload_rate = bg:black,fg:red
eta+ratio = bg:black,fg:white
filter_status = bg:red,fg:black
dialog = bg:black,fg:white
dialog_important = bg:red,fg:black
button = bg:white,fg:black
button_focused = bg:black,fg:white
file_prio_high = bg:red,fg:black
file_prio_normal = bg:white,fg:black
file_prio_low = bg:yellow,fg:black
file_prio_off = bg:blue,fg:black
2020-03-27 15:38:04 +01:00
#+end_src
2020-05-26 10:35:12 +02:00
2021-01-01 20:12:34 +01:00
* =aria2c= - Lightweight download utility
2020-05-04 23:59:35 +02:00
** Aria2c Config
2020-05-04 23:37:04 +02:00
#+begin_src conf :comments none :mkdirp yes :tangle ~/.config/aria2/aria2.conf :noweb no-export
continue
daemon=true
dir=/home/thomas/Downloads
max-connection-per-server=4
max-concurrent-downloads=3
enable-rpc=true
rpc-listen-all=true
http-user=dehaeze.thomas@gmail.com
http-passwd=<<get-password(passname="1fichier.com/dehaeze.thomas@gmail.com")>>
on-download-start=/home/thomas/.config/aria2/download-start.sh
on-download-complete=/home/thomas/.config/aria2/download-complete.sh
on-download-error=/home/thomas/.config/aria2/download-error.sh
2020-05-04 23:37:04 +02:00
#+end_src
** Download Start Script
2020-05-04 23:59:35 +02:00
#+begin_src bash :tangle ~/.config/aria2/download-start.sh :comments both :mkdirp yes :shebang "#!/bin/bash"
dunstify "DL Started" "$(basename \"$3\" 2> /dev/null)"
2020-05-04 23:37:04 +02:00
#+end_src
** Download Complete Script
#+begin_src bash :tangle ~/.config/aria2/download-complete.sh :comments both :mkdirp yes :shebang "#!/usr/bin/env bash"
dunstify "DL Completed" "$(basename \"$3\" 2> /dev/null)"
2020-05-04 23:37:04 +02:00
#+end_src
** Download Error Script
#+begin_src bash :tangle ~/.config/aria2/download-error.sh :comments both :mkdirp yes :shebang "#!/usr/bin/env bash"
dunstify --urgency=critical "DL Failed" "$(basename \"$3\" 2> /dev/null)"
2020-05-04 23:37:04 +02:00
#+end_src