]> git.friedersdorff.com Git - max/saltfiles.git/blobdiff - states/zsh/files/zshenv
Configure some moar
[max/saltfiles.git] / states / zsh / files / zshenv
index 5d60e58c66d94c7edd1e74098ef04dba2da3a79e..dd69c652b2be0bc1e5ce8f9782411ed16fc51932 100644 (file)
@@ -1,7 +1,9 @@
 typeset -U path
 path=(~/.local/bin ~/.cargo/bin $path[@])
 
-export QT_QPA_PLATFORM=wayland-egl
+if [[ $XDG_SESSION_TYPE == "wayland" ]]; then
+    export QT_QPA_PLATFORM=wayland-egl
+fi
 
 # make less more friendly for non-text input files, see lesspipe(1)
 if [ -x /usr/bin/lesspipe ]; then 
@@ -25,3 +27,5 @@ export GIT_PS1_SHOWCOLORHINTS="color"
 eval $(dircolors ~/.dir_colors)
 
 export GPG_TTY=$(tty)
+
+export _JAVA_AWT_WM_NONREPARENTING=1