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

7 lines
127 B
Bash
Executable file

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