commit d3545dd5d514642fe6f06fe661cb9f58bafc9144
parent 86af760798bec111fc6326f8e15a8e15881a89b3
Author: Alex Balgavy <alex@balgavy.eu>
Date: Thu, 30 Dec 2021 10:58:32 +0100
linkhandler: use reddio for reddit
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/linkhandler b/scripts/linkhandler
@@ -17,7 +17,7 @@ case "$1" in
setsid -f mpv --volume=50 "$1" 1>/dev/null 2>&1
;;
*reddit.com*)
- ttrv "$1"
+ reddio print -c always "comments/$(printf "%s" "$1" | cut -d/ -f7)" | less -+F -+X
;;
http://*|https://*) # everything else opens in w3m, can use go-readability within
# if command -v go-readability >/dev/null 2>&1; then