From: Samir Benmendil Date: Tue, 25 Jul 2017 12:25:46 +0000 (+0100) Subject: rifle: support mobile links for youtube too X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/7f2776c76c58df09bdc14e846934ddb295430c0d?ds=inline rifle: support mobile links for youtube too --- diff --git a/ranger/rifle.conf b/ranger/rifle.conf index 610f39b..1cac50c 100644 --- a/ranger/rifle.conf +++ b/ranger/rifle.conf @@ -49,8 +49,8 @@ # 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