X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/d3e2da439959d73f8e51c1b1433aa3812caa4b7f..HEAD:/ranger/rifle.conf diff --git a/ranger/rifle.conf b/ranger/rifle.conf index 4888aee..182e53d 100644 --- a/ranger/rifle.conf +++ b/ranger/rifle.conf @@ -54,6 +54,11 @@ match ^https?://(www|m).youtube.com/watch\?, has mpv, X, flag f = mpv --quiet match ^https?://youtu.be/, has mpv, X, terminal = mpv --quiet -- $1 match ^https?://youtu.be/, has mpv, X, flag f = mpv --quiet -- $1 +# Open meet and slack huddles in new windows +match ^https?://meet.google.com/, has qutebrowser, X, flag f = qutebrowser --target window -- "$@" +# the url is actually open=start_huddle, but rifle cannot match = (https://github.com/ranger/ranger/issues/2111) +match ^https?://app.slack.com/.*[?&]open.start_huddle, has qutebrowser, X, flag f = qutebrowser --target window -- "$@" + # open web url with BROWSER match ^https?://, X, flag f = $BROWSER -- "$@" @@ -191,7 +196,7 @@ label wallpaper, number 14, mime ^image, has feh, X = feh --bg-fill "$1" #------------------------------------------- # Generic file openers #------------------------------------------- -label open, has xdg-open = xdg-open -- "$@" +label open, has xdg-open = xdg-open "$@" label open, has open = open -- "$@" # Define the editor for non-text files + pager as last action