f1ce0873e744c402956b5f8d3d76e6bfb7041d76
- Author
- TheEdgeOfRage <git@theedgeofrage.com>
- Committer
- TheEdgeOfRage <git@theedgeofrage.com>
- Date
Message
Update zprofile to always set wayland env vars
Diff
1diff --git a/dot_zprofile.tmpl b/dot_zprofile.tmpl
2index ae6c3c1d61693e3077eae60a261dcf579567048f..890fd477fe94f3303727351b1ba2ddc5df1d4b1e 100644
3--- a/dot_zprofile.tmpl
4+++ b/dot_zprofile.tmpl
5@@ -22,10 +22,9 @@ export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/gcr/ssh"
6 {{ range $_, $env := .zshrc.env_vars }}export {{ $env.name }}="{{ $env.value }}"
7 {{ end }}
8 # Wayland env vars
9-if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ] && [[ $(tty) = /dev/tty1 ]]; then
10- export MOZ_ENABLE_WAYLAND="1"
11- export XDG_SESSION_TYPE=wayland
12-fi
13+export MOZ_ENABLE_WAYLAND="1"
14+export XDG_SESSION_TYPE=wayland
15+export SDL_VIDEODRIVER=wayland
16
17 # Valve shader compiler
18 export RADV_PERFTEST="aco"