all repos — dotfiles @ 733681cad2977a9cc844c03fcdea99453c0ed37c

linux dotfiles

add loop to reddit browse mpv script
Prithu Goswami prithugoswami524@gmail.com
Fri, 25 Dec 2020 19:37:16 +0530
commit

733681cad2977a9cc844c03fcdea99453c0ed37c

parent

17e122089644468a2efd3a79596b916868c26e9f

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M bin/scripts/reddit-browsebin/scripts/reddit-browse

@@ -18,7 +18,7 @@ tee /tmp/rtmp.json | jq '.data.children[] |.data.url' |\

grep -E 'jpg|png"$' | xargs feh -F 2>/dev/null cat /tmp/rtmp.json | jq -r '.data.children[] |.data.url' |\ - grep -E '(redgifs|gfycat|v.red)' | xargs mpv + grep -E '(redgifs|gfycat|v.red)' | xargs mpv --loop-file=inf after=$(cat /tmp/rtmp.json | jq '.data.after' | tr -d '"') printf "continue? [y/n]: "; read ans