feat: set wayland env vars if in wayland session
This commit is contained in:
parent
2eca7573d4
commit
bace762f66
1 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
# vim:ft=zsh:fenc=utf-8
|
||||
export ZDOTDIR=$HOME/.config/zsh
|
||||
. $ZDOTDIR/.zshenv
|
||||
|
||||
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
|
||||
export GDK_BACKEND=wayland
|
||||
export QT_QPA_PLATFORM=wayland-egl
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue