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 -- "$@"
mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@"
mime ^image/svg, has display, X, flag f = display -- "$@"
+ext gif, has mpv, X, flag f = mpv --loop -- "$@"
mime ^image, has feh, X, flag f = feh -- "$@"
mime ^image, has gimp, X, flag f = gimp -- "$@"
ext xcf, X, flag f = gimp -- "$@"
#-------------------------------------------
# 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