From 493c9d11f87cd77ddcb7ef63367dc16f66734ebc Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Fri, 25 Feb 2022 06:13:00 -0800 Subject: [PATCH] set variables for wayland --- etc/profile.d/swayenv.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 etc/profile.d/swayenv.sh 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