#!/bin/sh
if [ "${XDG_SESSION_TYPE:-}" = wayland ]; then
export MOZ_ENABLE_WAYLAND=1
	exec /usr/lib/firefox/firefox "$@"
else
export MOZ_DISABLE_WAYLAND=1
	exec /usr/lib/firefox/firefox "$@"
fi
