Set QT_QPA_PLATFORM=wayland

This commit is contained in:
Maximilian Friedersdorff 2025-01-27 10:31:14 +00:00
parent 7e409c7dcf
commit fc9991f2a1

View file

@ -1,10 +1,8 @@
typeset -U path typeset -U path
path=(~/.local/bin ~/.cargo/bin $path[@]) path=(~/.local/bin ~/.cargo/bin $path[@])
if [[ $XDG_SESSION_TYPE == "wayland" ]]; then export QT_QPA_PLATFORM=wayland
export QT_QPA_PLATFORM=wayland-egl export MOZ_ENABLE_WAYLAND=1
export MOZ_ENABLE_WAYLAND=1
fi
# make less more friendly for non-text input files, see lesspipe(1) # make less more friendly for non-text input files, see lesspipe(1)
if [ -x /usr/bin/lesspipe ]; then if [ -x /usr/bin/lesspipe ]; then