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

8 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