feat: set wayland env vars if in wayland session

This commit is contained in:
winston 2022-10-25 20:09:41 +02:00
parent 2eca7573d4
commit bace762f66
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -1,3 +1,9 @@
# vim:ft=zsh:fenc=utf-8 # vim:ft=zsh:fenc=utf-8
export ZDOTDIR=$HOME/.config/zsh export ZDOTDIR=$HOME/.config/zsh
. $ZDOTDIR/.zshenv . $ZDOTDIR/.zshenv
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
export GDK_BACKEND=wayland
export QT_QPA_PLATFORM=wayland-egl
export MOZ_ENABLE_WAYLAND=1
fi