# Wayland Environment Variables # Centralized Wayland configuration # Core Wayland variables export XDG_SESSION_TYPE=wayland export XDG_CURRENT_DESKTOP=sway # export XDG_CURRENT_DESKTOP=niri # Firefox/Thunderbird Wayland support export MOZ_ENABLE_WAYLAND=1 # QT Wayland configuration export QT_QPA_PLATFORM=wayland-egl export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 export QT_QPA_PLATFORMTHEME=qt5ct export QT_STYLE_OVERRIDE=kvantum # GTK Wayland configuration export GDK_BACKEND=wayland # Clutter/Evas Wayland export CLUTTER_BACKEND=wayland export ECORE_EVAS_ENGINE=wayland_egl export ELM_ENGINE=wayland_wgl # SDL Wayland export SDL_VIDEODRIVER=wayland # Java Wayland support export _JAVA_AWT_WM_NONREPARENTING=1 # SSH Agent configuration unset SSH_AGENT_PID if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" fi export GPG_TTY=$(tty) gpg-connect-agent updatestartuptty /bye >/dev/null