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 0f0a319a4f2917eb4378748683e58a86e9412ff1
parent 8b5a4140edd947c378f8e0153980cbd392744ac9
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon, 24 Feb 2020 20:41:09 +0100

Send vimeo.com pages to youtube-dl

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

diff --git a/.local/bin/plumb b/.local/bin/plumb @@ -92,7 +92,7 @@ handle_target() { sxiv "$(fetch "$t")" elif regexmatch "$t" '\.(pdf|ps|epub|djvu)$'; then zathura "$(fetch "$t")" - elif regexmatch "$t" '(youtube\.|youtu\.be)'; then + elif regexmatch "$t" '(youtube\.|youtu\.be|vimeo\.com)'; then cd ~/tmp && detach youtube-dl "$t" elif regexmatch "$t" '(smbc-comics\.com|xkcd\.com|jspowerhour\.com)'; then cd /tmp && detach comic "$t"