20-wayland.conf 960 B

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