Add sway config and other Wayland-related stuff

This commit is contained in:
Lexi / Zoe 2026-05-13 13:49:07 +02:00
parent 2ef36eb976
commit ecd2f63c92
Signed by: binaryDiv
GPG key ID: F8D4956E224DA232
18 changed files with 664 additions and 0 deletions

View file

@ -0,0 +1,11 @@
#
# ~/.config/profile.d/40_wayland.sh -- Environment variables for Wayland environments.
#
# Prefer wayland backends
export QT_QPA_PLATFORM="wayland-egl;wayland;xcb"
export SDL_VIDEODRIVER="wayland,x11"
export ELECTRON_OZONE_PLATFORM_HINT="auto"
# Fixes some potential issues in Java apps on Wayland
export _JAVA_AWT_WM_NONREPARENTING=1