commit 1f4b5edf8aba8bfc2317ebd613081a2802aa4fb1 parent d7ecb0f992d51cd2651bf9c620f6090afcfe0c7e Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Fri, 19 Jun 2020 14:14:00 +0200 Plumb invidio to mpv Diffstat:
M | .local/bin/plumb | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/plumb b/.local/bin/plumb @@ -222,7 +222,7 @@ handle_target() { else mandoc -l "$(fetch "$t")" fi - elif regeximatch "$t" '(youtube\.|youtu\.be|vimeo\.com|invidious\.snopyta\.org)'; then + elif regeximatch "$t" '(youtube\.|youtu\.be|vimeo\.com|invidio\.us|invidious\.snopyta\.org)'; then cd ~/tmp && detach $prefix mpv "$t" elif regeximatch "$t" '^(http|https)://' || \ regeximatch "$t" '\.webp$'; then