From f591d917af709c88cef16d21f3ca72947aa89f5e Mon Sep 17 00:00:00 2001 From: Joachim Nielandt Date: Thu, 18 May 2023 07:58:46 +0200 Subject: [PATCH] Added wayland var --- dot_zshrc.tmpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 1f91827..135c07a 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -5,6 +5,11 @@ if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]] source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" fi +# set wayland specific settings +if [ "$XDG_SESSION_TYPE" = "wayland" ]; then + export MOZ_ENABLE_WAYLAND=1 +fi + # To check # Uncomment the following line to disable bi-weekly auto-update checks. # DISABLE_AUTO_UPDATE="true"