X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/24d8742d55cd1d099a1ad9aaf310e0a17b872b2e..7f2776c76c58df09bdc14e846934ddb295430c0d:/ranger/rifle.conf diff --git a/ranger/rifle.conf b/ranger/rifle.conf index 5b231d0..1cac50c 100644 --- a/ranger/rifle.conf +++ b/ranger/rifle.conf @@ -49,8 +49,10 @@ # 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 -- $1 -match ^https?://www.youtube.com/watch\?, has mpv, X, flag f = mpv --quiet -- $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 -- "$@"