diff --git a/etc/profile.d/swayenv.sh b/etc/profile.d/swayenv.sh new file mode 100644 index 0000000..a3102a3 --- /dev/null +++ b/etc/profile.d/swayenv.sh @@ -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