From 816d553ffef6dfa4680a5df771179a44d8c1e59c Mon Sep 17 00:00:00 2001 From: Naman Sood Date: Thu, 27 Jul 2023 14:57:22 -0400 Subject: [PATCH] fix firefox wayland Signed-off-by: Naman Sood --- zprofile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zprofile b/zprofile index e62e211..fc043a8 100644 --- a/zprofile +++ b/zprofile @@ -4,4 +4,9 @@ if [ -z "$SSH_AUTH_SOCK" ] ; then grep -slR PRIVATE ~/.ssh/ | xargs ssh-add fi +# fix for firefox using xwayland instead of wayland native +if [ "$XDG_SESSION_TYPE" = "wayland" ]; then + export MOZ_ENABLE_WAYLAND=1 +fi + export TENDS_TO=42