20-wayland.conf 926 B

12345678910111213141516171819202122232425262728293031323334353637
  1. # Wayland Environment Variables
  2. # Centralized Wayland configuration
  3. # Core Wayland variables
  4. export XDG_SESSION_TYPE=wayland
  5. export XDG_CURRENT_DESKTOP=sway
  6. # Firefox/Thunderbird Wayland support
  7. export MOZ_ENABLE_WAYLAND=1
  8. # QT Wayland configuration
  9. export QT_QPA_PLATFORM=wayland-egl
  10. export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
  11. export QT_QPA_PLATFORMTHEME=qt5ct
  12. export QT_STYLE_OVERRIDE=kvantum
  13. # GTK Wayland configuration
  14. export GDK_BACKEND=wayland
  15. # Clutter/Evas Wayland
  16. export CLUTTER_BACKEND=wayland
  17. export ECORE_EVAS_ENGINE=wayland_egl
  18. export ELM_ENGINE=wayland_wgl
  19. # SDL Wayland
  20. export SDL_VIDEODRIVER=wayland
  21. # Java Wayland support
  22. export _JAVA_AWT_WM_NONREPARENTING=1
  23. # SSH Agent configuration
  24. unset SSH_AGENT_PID
  25. if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
  26. export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
  27. fi
  28. export GPG_TTY=$(tty)
  29. gpg-connect-agent updatestartuptty /bye >/dev/null