From: Samir Benmendil Date: Thu, 14 Mar 2024 12:35:40 +0000 (+0000) Subject: ranger: open gmeet and slack huddles in new windows X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/d85412fdb152d5a8fd57542fb370506808a31493?ds=inline ranger: open gmeet and slack huddles in new windows --- diff --git a/ranger/rifle.conf b/ranger/rifle.conf index 1334d56..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 -- "$@"