X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/38edac65472d9932826cce63c907293e034fa88d..7f2776c76c58df09bdc14e846934ddb295430c0d:/ranger/rifle.conf diff --git a/ranger/rifle.conf b/ranger/rifle.conf index f347695..1cac50c 100644 --- a/ranger/rifle.conf +++ b/ranger/rifle.conf @@ -49,8 +49,13 @@ # only running the current file even if you have marked multiple files. # Play videos with mpv -match ^https?://www.youtube.com/watch\?, has mpv, X, terminal = mpv --profile=mimeo -- $1 -match ^https?://www.youtube.com/watch\?, has mpv, X, flag f = mpv --profile=mimeo -- $1 +match ^https?://(www|m).youtube.com/watch\?, has mpv, X, terminal = mpv -- $1 +match ^https?://(www|m).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