PortValhalla/scripts/Common/Software/Firefox/firefox.sh

7 lines
126 B
Bash
Executable file

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