commit a63c3adbe5d8959632edcb777dc1e7ca5aaf0404
parent 8c3e587db65197622ae0786462449dc9af36a468
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 23 May 2020 06:30:54 +0200
Add video site to mpv target
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/plumb b/.local/bin/plumb
@@ -215,7 +215,7 @@ handle_target() {
else
mandoc -l "$(fetch "$t")"
fi
- elif regeximatch "$t" '(youtube\.|youtu\.be|vimeo\.com)'; then
+ elif regeximatch "$t" '(youtube\.|youtu\.be|vimeo\.com|invidious\.snopyta\.org)'; then
cd ~/tmp && detach mpv "$t"
elif regeximatch "$t" '^(http|https)://' || \
regeximatch "$t" '\.webp$'; then