commit b0d8f7a39a4cacc604593179440d22a27695188c
parent 09069b5f7bcb7f455424730f804bccc7a7ed7483
Author: Luxferre <lux@ferre>
Date: Wed, 21 Feb 2024 17:25:49 +0200
added toraria
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/.aliases b/.aliases
@@ -21,8 +21,14 @@ alias eer='doas rlwrap ed -p:'
# one-line notetaking (in twtxt format)
alias n='echo -e "$(date -Im)\t$*" >> ~/n'
-# reset tor circuit for torified programs
+# some Tor-related aliases
+
+# reset tor circuit for torified programs (requires control port 9051)
alias tornew='echo -e "AUTHENTICATE \"\"\r\nsignal NEWNYM\r\nQUIT" | nc 127.0.0.1 9051'
+# most efficient downloads via Tor (torify + aria2)
+alias toraria='torify aria2c --async-dns=false --max-connection-per-server=16'
+
+# multimedia aliases
# use on framebuffer-based systems (requires mpv and pipe-viewer)
alias fbstream='mpv --vo=drm --ytdl-format="bestvideo[height<=?768][vcodec!=vp9]+bestaudio/best"'