]> git.rmz.io Git - dotfiles.git/commitdiff
rifle: also open youtu.be links with mpv
authorSamir Benmendil <me@rmz.io>
Mon, 26 Dec 2016 01:14:02 +0000 (01:14 +0000)
committerSamir Benmendil <me@rmz.io>
Mon, 26 Dec 2016 01:27:58 +0000 (01:27 +0000)
ranger/rifle.conf

index 5b231d07b2649025742e6f30443910e8a2e03d6a..610f39bbc55df6a62da271442401b42bc6a68211 100644 (file)
@@ -51,6 +51,8 @@
 # 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
 # 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 -- "$@"
 
 # open web url with BROWSER
 match ^https?://, X, flag f = $BROWSER -- "$@"