commit 09069b5f7bcb7f455424730f804bccc7a7ed7483
parent c6a032869be36fcb7099b9009944eac6db1b3a49
Author: Luxferre <lux@ferre>
Date: Wed, 21 Feb 2024 17:05:09 +0200
Added tornew alias
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/.aliases b/.aliases
@@ -21,6 +21,9 @@ 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
+alias tornew='echo -e "AUTHENTICATE \"\"\r\nsignal NEWNYM\r\nQUIT" | nc 127.0.0.1 9051'
+
# use on framebuffer-based systems (requires mpv and pipe-viewer)
alias fbstream='mpv --vo=drm --ytdl-format="bestvideo[height<=?768][vcodec!=vp9]+bestaudio/best"'
alias yt='pipe-viewer --player=mpv --append-arg="--vo=drm" -7'