fix firefox wayland

Signed-off-by: Naman Sood <mail@nsood.in>
This commit is contained in:
Naman Sood 2023-07-27 14:57:22 -04:00
parent bd98b8a308
commit 816d553ffe

View file

@ -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