dotfiles/.config/environment.d/50-wayland.conf
histalek 1042cb2ea7
feat(sway/wayland): Set some wlroots env vars
Using the vulkan renderer explicitly seems to get rid of some XWayland
windows starting up blacked out.

Disabling the direct scanout to work around some issues i'm running into
with Proton apps.
2024-12-16 12:43:48 +01:00

14 lines
345 B
Text

### Set wayland specific environment variables
# Set wayland backend for GUI libraries
QT_QPA_PLATFORM=wayland
GDK_BACKEND=wayland
SDL_VIDEODRIVER=wayland
CLUTTER_BACKEND=wayland
QT_QPA_PLATFORMTHEME=qt6ct
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
# Experimenting with some wlroots env vars
WLR_SCENE_DISABLE_DIRECT_SCANOUT=1
WLR_RENDERER=vulkan