dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit ee3a2b19ca77f6ffb51421edce28b5035c62bd30
parent 6ffbd961377d152e033ce8ba4f978b4d457aa7a5
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sun, 20 Sep 2020 21:30:48 +0200

plumb: open everything invidious with mpv

Diffstat:
M.local/bin/plumb | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/plumb b/.local/bin/plumb @@ -230,7 +230,7 @@ handle_url() { else mandoc -l "$(fetch "$t")" fi - elif regeximatch "$t" '(youtube\.|youtu\.be|vimeo\.com|invidio\.us|invidious\.snopyta\.org)'; then + elif regeximatch "$t" '(youtube\.|youtu\.be|vimeo\.com|invidious|invidio\.us|invidious\.snopyta\.org)'; then cd ~/tmp && detach $prefix mpv "$t" elif regeximatch "$t" '^(http|https)://' || \ regeximatch "$t" '\.webp$'; then