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
+ export MOZ_ENABLE_WAYLAND=1
+fi
# make less more friendly for non-text input files, see lesspipe(1)
if [ -x /usr/bin/lesspipe ]; then
eval $(dircolors ~/.dir_colors)
export GPG_TTY=$(tty)
+
+export _JAVA_AWT_WM_NONREPARENTING=1
+
+export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock