dotfiles/.config/environment.d/50-wayland.conf

20 lines
527 B
Text

### Set wayland specific environment variables
# Set compositor
XDG_CURRENT_DESKTOP=sway
# Set wayland backend for GUI libraries
QT_QPA_PLATFORM=wayland-egl
GDK_BACKEND=wayland
CLUTTER_BACKEND=wayland
SDL_VIDEODRIVER=wayland
# Restore functionality for QT features by setting the theme to 'qt5ct'
QT_QPA_PLATFORMTHEME=qt5ct
# Enable wayland for firefox and thunderbird
MOZ_ENABLE_WAYLAND=1
# wlroots configuration Ref.: https://gitlab.freedesktop.org/wlroots/wlroots/-/blob/master/docs/env_vars.md
WLR_DRM_NO_MODIFIERS=1