X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/e13a60251b6e72001791dd8cef0e60f99d406e28..85e8f6d926a4fa93c31841f9494d738f55e7fd8c:/ranger/rifle.conf diff --git a/ranger/rifle.conf b/ranger/rifle.conf index 9a61d1b..610f39b 100644 --- a/ranger/rifle.conf +++ b/ranger/rifle.conf @@ -51,6 +51,11 @@ # Play videos with mpv match ^https?://www.youtube.com/watch\?, has mpv, X, terminal = mpv -- $1 match ^https?://www.youtube.com/watch\?, has mpv, X, flag f = mpv --quiet -- $1 +match ^https?://youtu.be/, has mpv, X, terminal = mpv --quiet -- $1 +match ^https?://youtu.be/, has mpv, X, flag f = mpv --quiet -- $1 + +# open web url with BROWSER +match ^https?://, X, flag f = $BROWSER -- "$@" #------------------------------------------- # Websites