X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=states%2Fzsh%2Ffiles%2Fzshenv;h=ab80266ddf37230d515272815fffc45ae8ec05e1;hb=023600839acf7dbdc53f019219f3bd3d059224dc;hp=eabcb4f7022d6b88fc6009eb11e76a500ea1be20;hpb=9362b3cd2aae995485a64d4421a76089f5ed72d6;p=max%2Fsaltfiles.git diff --git a/states/zsh/files/zshenv b/states/zsh/files/zshenv index eabcb4f..ab80266 100644 --- a/states/zsh/files/zshenv +++ b/states/zsh/files/zshenv @@ -1,7 +1,10 @@ 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 @@ -27,3 +30,5 @@ eval $(dircolors ~/.dir_colors) export GPG_TTY=$(tty) export _JAVA_AWT_WM_NONREPARENTING=1 + +export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock