set variables for wayland

This commit is contained in:
Morgan McMillian 2022-02-25 06:13:00 -08:00
parent f25e130244
commit 493c9d11f8

7
etc/profile.d/swayenv.sh Normal file
View file

@ -0,0 +1,7 @@
# /etc/profile.d/swayenv.sh
#
# This sets the other variables on Wayland.
test "$XDG_SESSION_TYPE" = 'wayland' || return
test "$XDG_SESSION_DESKTOP" = 'sway' || return
export MOZ_ENABLE_WAYLAND=1