#!/bin/bash
if [ "$XDG_SESSION_TYPE" == "wayland" ]
then
export MOZ_ENABLE_WAYLAND=1
else
export MOZ_USE_XINPUT2=1
fi